Asked by hekmat

. Develop an algorithm pseudo-code or flowchart that will accept the names of each sales staff members and their total sales for the month. The algorithm must calculate the commission at 5 % of their total sales amount. It should

Answers

Answered by oobleck
do {
prompt for name, sales
accept name, sales
if name == "" then exit do
commission = sales * 0.05
print name, sales, commission
}

or, if you don't print the data till the end, you will have to store the info in an array.
There are no AI answers yet. The ability to request AI answers is coming soon!

Related Questions