Asked by Derrick
Write the pseudocode for a program to calculate the wages of a sales 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 wages.
Answers
Answered by
jonathan kongola
use variable.no.of sales,no.of years of type integer
answer of type real
Display."enter no.you want to use"
Accept.number
IF wage<>sales*0.15
THEN salary:=wage+loyality
ELSE if no. of year.3
THEN loyality:=wage*0.1
ELSE loyality=0
answer of type real
Display."enter no.you want to use"
Accept.number
IF wage<>sales*0.15
THEN salary:=wage+loyality
ELSE if no. of year.3
THEN loyality:=wage*0.1
ELSE loyality=0
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.