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?

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.