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.

3 answers

letting
s = sales,
n = length of time with company,
w = wages,

w = .15s
if (n>3) w *= 1.10
In this case you are going to calculate before drawing the chart
How is it going to be