Question: write a program in java to display how many cases are required to store boxes of cookies. Only use for loops, do, or do while.
write a program in java to display how many cases are required to store boxes of cookies. Only use for loops, do, or do while. A case of cookies holds 10 boxes of cookies. User will enter how many boxes of cookies that have been purchased. Print statements will include the number of boxes of cookies and also the number of cases required. Cannot use temporary storage places or any arrays.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
