Yes, your understanding is correct, but the implementation is to be interpreted wrong:
Code:
int Sales = 0;
Sales = PrompUser ( "Enter the amount of sales for this week: ");
Notice that Sales
may imply the total NUMBER OF SELLED ITEMS. It is not the total amount of extra money made this week! That needs to be sorted out.
So what we have here is a miscomunnication through code...
