My assignment is to write a program that does the following:
Ask the user how many bills they are entering for calculation?
Have the user enter as many as 8 bills (the amount of each bill)
then add all the bills to get a total then get the average.
I understand how to get the total and average.
I also can get the user to enter how many bills they want to enter.
this is what I have so far --
writeln('How many bills will you be entering today?');
if billnum <9 then
else writeln('The system can calculate as many as 8 bills at a time. Please enter 8 or less bills');
Can anyone help with creating a loop that will allow the user to enter the amounts of each bill???
Thanks a million !!!