subject

Write a program that predicts how many whole bags of apples can be produced given the number of apples available (assume that each bag has dozen apples). Prompt the user to enter the number of apples available; in the output display the total number of apples, number of whole bags produced and number of apples that will be leftover. (Hint use integer division and % ) For example, if 50 is the number of apples available, then 4 whole bags will be produced and 2 apples will be leftover.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 08:00
Digital information is stored using a series of ones and zeros. computers are digital machines because they can only read information as on or off –1 or 0. this method of computation is known as the system
Answers: 1
question
Computers and Technology, 22.06.2019 11:00
Which law requires employers to provide safe working environments for their employees? a. civil rights act b. fair labor standards act c. occupational safety and health act d. wagner act
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
Which text format is this, "the text is transcribed exactly as it sounds and includes all the utterances of the speakers. "?
Answers: 2
question
Computers and Technology, 23.06.2019 01:30
For a typical middle-income family, what is the estimated cost of raising a child to the age of 18? $145,500 $245,340 $304,340 $455,500
Answers: 2
You know the right answer?
Write a program that predicts how many whole bags of apples can be produced given the number of appl...
Questions
Questions on the website: 13722363