Computers and Technology

Amilk carton can hold 3.78 liters of milk. each morning, adairy farm ships cartons of milk to a local grocery store. the costof producing one liter of milk is $0.38, and the profit of eachcarton of milk is $0.27. write a program that dose thefollowing:
1, a. prompts the user to enter the total amount of milkproduced in the morning
b. output the number of milkcartons needed to hold milk (round your answer to the nearestinteger.)
c. output the cost of producingmilk.
d. output the profit for producingmilk.
2. redo programming exercise so that the user can also inputthe cost of producing one liter of milk and the profit on eachcarton of milk.

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 02:00, sabrinarasull1pe6s61
Which of the following is a way the operating system prevents unknown or unauthorized users from accessing the system?
Answers: 2
image
Computers and Technology, 22.06.2019 05:00, Siebee23
This program will store roster and rating information for a soccer team. coaches rate players during tryouts to ensure a balanced team. (1) prompt the user to input five pairs of numbers: a player's jersey number (0 - 99) and the player's rating (1 - 9). store the jersey numbers in one int vector and the ratings in another int vector. output these vectors (i. e., output the roster). (3 pts) ex: enter player 1's jersey number: 84 enter player 1's rating: 7 enter player 2's jersey number: 23 enter player 2's rating: 4 enter player 3's jersey number: 4 enter player 3's rating: 5 enter player 4's jersey number: 30 enter player 4's rating: 2
Answers: 1
image
Computers and Technology, 22.06.2019 14:20, capo9972
Cengagenowv2 is a comprehensive online learning tool. using cengagenowv2, you may access all of the following except: 2. each time you log in, cengagenowv2 automatically performs a system check and informs you if your computer does not meet the cengagenowv2 system requirements. 3. which tab/page allows you to easily track your assignment scores, number of submissions, time spent, as well as the ability view assign
Answers: 3
image
Computers and Technology, 23.06.2019 12:30, legend101xD
Animations and transitions are added from the
Answers: 1
Do you know the correct answer?
Amilk carton can hold 3.78 liters of milk. each morning, adairy farm ships cartons of milk to a loca...

Questions in other subjects: