Results (
English) 1:
[Copy]Copied!
A box of cookies can hold 24 cookies, and a container can hold 75 boxesof cookies. Write a program that prompts the user to enter the totalnumber of cookies, the number of cookies in a box, and the number ofcookie boxes in a container. The program then outputs the number ofboxes and the number of containers to ship the cookies. Note that eachbox must contain the specified number of cookies, and each containermust contain the specified number of boxes. If the last box of cookiescontains less than the number of specified cookies, you can discard it andoutput the number of leftover cookies. Similarly, if the last containercontains less than the number of specified boxes, you can discard it andoutput the number of leftover boxes.
Being translated, please wait..
