Commisssion Calculators
Commisssion Calculators
names of the sales consultants along with the commission ($) received for each,
The sales consulant with the highest commission and the total commission received
and the total sales made in the month *}
Const
MaxConsultants = 100;
Requirement = 10000.00;
rate = 0.0525;
Var
GrandTotalMonthSale,GrandTotalCommission: Real;
Highestrep: String;
Begin
GrandTotalCommission := 0;
GrandTotalMonthSale := 0;
count := 0;
highindex := 1;
write('WELCOME! This program is going to determine the commissions for each Sales
Conultant at DSS. ');
writeln(' ');
writeln(' ');
write('Enter the number of sales consultants: ');
readln(Num);
writeln(' ');
for x := 1 to Num do
begin
end;
end;
writeln(' ');
writeln('SUMMARY: ');
writeln(' ');
writeln(' ');
writeln('The grand total for the sales of the month is: $',
GrandTotalMonthSale:2:2);
writeln('The number of Sales Consultants who received a commission is: ',
count,' .');
writeln('The grand total commission received for the month of January is:
$',GrandTotalCommission:2:2);
writeln('The Sales Consultant with the highest commission is: ',Highestrep);
writeln(' ');
writeln(' ');
writeln('LIST OF SALES CONSULTANTS WHO RECEIVED COMMISSION:');
writeln(' ');
for x := 1 to Num do
begin
end;
end;
End.