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.
. 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
1 answer