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
Someone with this coz i don’t really know what i can choose, just pick whatever u want. homework - you need to choose a website that you like or use frequently. you must visit the website and discuss 6 different features/parts/aspects of the website that you think makes it good. (100 words)
Answers: 2
question
Computers and Technology, 25.06.2019 04:30
Consider a list of full names formatted “firstname lastname”, like ["jules verne", "alexandre dumas", "maurice druon"]. write a list comprehension that produces a list with the full names in the format “lastname, firstname”. the resulting list should look like ['verne, jules', 'dumas, alexandre', 'druon, maurice']. the simplest solution may involve a nested comprehension: [ …. for … in [ … for … in … ]].
Answers: 3
question
Computers and Technology, 25.06.2019 04:30
The word window is an example of a /an
Answers: 1
question
Computers and Technology, 25.06.2019 08:10
Which of the following is a difference between the systems development life cycle (sdlc) and extreme programming (xp)? the sdlc model has a separate planning and analysis phase, whereas xp combines both the phases into one phase.in the sdlc model, changes cannot be made to a system once it is delivered to the user, whereas the xp method delivers the system to the users and then make changes suggested by the user.the sdlc model develops an entire system at once, whereas xp uses incremental steps to improve an information system's qualitydevelopers following the sdlc model cannot go on to the next phase until the current phase is finished, whereas in xp, developers can move to any phase from the current phase.
Answers: 1
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
question
Mathematics, 16.01.2021 06:00
question
Mathematics, 16.01.2021 06:00
question
Mathematics, 16.01.2021 06:00
question
Mathematics, 16.01.2021 06:00
question
Mathematics, 16.01.2021 06:00
Questions on the website: 13722363