![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 29.10.2021 06:30 taylor3932
Write a program that implements the algorithm given below, which determines the monthly wages of a salesperson. The instructions have been posted below for your convenience.
If the salesperson has been with the store for five years or less, the bonus is $10 for each year that he or she has worked there. If the salesperson has been with the store for more than five years, the bonus is $20 for each year that he or she has worked there. The salesperson can earn an additional bonus as follows: If the total sales made by the salesperson for the month are at least $5,000 but less than $10,000, he or she receives a 3% commission on the sale. If the total sales made by the salesperson for the month are at least $10,000, he or she receives a 6% commission on the sale.
To calculate a salesperson’s monthly paycheck, you need to know the base salary, the number of years that the salesperson has been with the company, and the total sales made by the salesperson for that month. Suppose baseSalary denotes the base salary, noOfServiceYears denotes the number of years that the salesperson has been with the store, bonus denotes the bonus, totalSales denotes the total sales made by the salesperson for the month, and additionalBonus denotes the additional bonus.
Since your program handles currency, make sure to use a data type that can store decimals with a precision to 2 decimals.
![ansver](/tpl/images/cats/User.png)
Answers: 3
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 20:00
What is the term for water wave that is created by an underwater earthquake
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 22:30
What would be the address of the cell, which is at the intersection of the second row and the third column in a worksheet?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 00:40
What is the error in the following pseudocode? module main() call raisetopower(2, 1.5) end module module raisetopower(real value, integer power) declare real result set result = value^power display result end module
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 06:30
Ineed to know the anwser to all these questions
Answers: 2
You know the right answer?
Write a program that implements the algorithm given below, which determines the monthly wages of a s...
Questions
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mkx.png)
![question](/tpl/images/cats/fizika.png)
Physics, 06.07.2019 22:00
![question](/tpl/images/cats/mat.png)
Mathematics, 06.07.2019 22:00
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 06.07.2019 22:00
![question](/tpl/images/cats/mat.png)
Mathematics, 06.07.2019 22:00
![question](/tpl/images/cats/mat.png)
Mathematics, 06.07.2019 22:00
![question](/tpl/images/cats/fizika.png)
Physics, 06.07.2019 22:00
![question](/tpl/images/cats/es.png)
Spanish, 06.07.2019 22:00
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 06.07.2019 22:00
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 06.07.2019 22:00
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 06.07.2019 22:00
![question](/tpl/images/cats/istoriya.png)
History, 06.07.2019 22:00