Programming
posted by Derrick on .
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.

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