At the end of each working day, a sales assistant is paid for the services the greater of either $20 per hour or, alternatively, a lesser hourly rate of $5 per hour plus 15% commission on their total net sales. For example, a sales assistant who, in 7 hours, makes total net sales of $1000 will earn $185 - if no sales were made, earnings for the same 7 hour period would instead become $140.
Given the number of hours worked as HOURS and the net total sales figure as SALES, write pseudocode to output the sale assistant's total income.
Short Answer3 MarksPremium
16 Uses27 Views1 Like
Login or Create an Account to view the mark scheme, comment, and add to a test