Hi I had a few quick questions about this program that I'm just about to write. The program itself looks fairly easy, for the calculation I'm not so sure.
We have been hired to write a program to determine the number of cases required to store boxes of cookies. A case of cookies can store 10 boxes of cookies. The user of the program will enter the number of cookies that have been purchased. The program should print out both the number of boxes of cookies and also the number of cases required.
Is it just me, or am I going to have to assume the number of cookies that equal 1 box?
Also what would I do with the left over cookieS?
For example, if someone enters 75 cookies that would be be 7.5 boxes.
Get what i mean? What would I do with the left over?
Just want to understand the problem clearly before I get started. Writing the program doesn't look bad at all.