Duplicate Question
The question on this page has been marked as a duplicate question.
Original Question
Write the pseudocode for a program to calculate the wages of a sales according to the following rules. The wage is calculated a...Asked by Anonymous
Write the pseudocode for a program to calculate the wages of a
salesman according to the following rules.
The wage is calculated at a rate of 15% of sales. If the salesman has been with the company more than three years, he receives a loyalty bonus of 10% of his calculated wage.
HINTS: What output is required? What processing is needed? What input data is required?
salesman according to the following rules.
The wage is calculated at a rate of 15% of sales. If the salesman has been with the company more than three years, he receives a loyalty bonus of 10% of his calculated wage.
HINTS: What output is required? What processing is needed? What input data is required?
Answers
Answered by
oobleck
read sales
wage = 0.15 * sales
if tenure > 3 then bonus = 0.10 * wage
print <whatever is necessary>
I'm assuming you have access to the employee data regarding name, tenure, etc.
wage = 0.15 * sales
if tenure > 3 then bonus = 0.10 * wage
print <whatever is necessary>
I'm assuming you have access to the employee data regarding name, tenure, etc.
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.