subject

A bag of biscuit can hold 22 biscuit, and a container can hold 70 bags of biscuit. Write a program that prompts the user to enter the total number of biscuits, the number of biscuits in a bag, and the number of biscuit bags in a container. The program then outputs the number of bags and the number of containers to ship the biscuit. Note that each bag must contain the specified number of biscuits, and each container must contain the specified number of bags. If the last bag of biscuit contains less than the number of specified biscuits, you can discard it and output the number of leftover biscuits. Similarly, if the last container contains less than the number of specified bags, you can discard it and output the number of leftover bags

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 00:00
How do we use the sumif formula (when dealing with different formats) ?
Answers: 1
question
Computers and Technology, 23.06.2019 09:10
Effective character encoding requires standardized code. compatible browsers. common languages. identical operating systems.
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
Name the range function that would generate the following list of integers values: 0,1,2,3,4,5.
Answers: 1
question
Computers and Technology, 24.06.2019 04:30
How do you share someone else’s tweet with your own twitter followers?
Answers: 1
You know the right answer?
A bag of biscuit can hold 22 biscuit, and a container can hold 70 bags of biscuit. Write a program t...
Questions
Questions on the website: 13722361