subject

Can anyone help me with this coding assignment? A milk carton can hold 3.78 liters of milk. Each morning, a dairy farm ships cartons of milk to a local grocery store. The cost of producing one liter of milk is $0.38, and the profit of each carton of milk is $0.27.

Write a program that prompts the user to enter:

The total amount of milk produced in the morning.
The program then outputs:

The number of milk cartons needed to hold milk.

Round your answer to the nearest integer.
The cost of producing milk.

The profit for producing milk.

Test Case 1 Input: 4900
Test Case 2 Input: 3520.4
Test Case 3 Input: 3590.56

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 21:00
The average cost of one year at a private college in 2012-2013 is $43,289. the average grant aid received by a student at a private college in 2012-2013 is $15,680.   what is the average student contribution for one year at a private college in 2012-2013?
Answers: 3
question
Computers and Technology, 24.06.2019 16:00
How are roger williams, james oglethorpe, and william penn similar?
Answers: 3
question
Computers and Technology, 24.06.2019 17:50
You work in the accounting department and have been using a network drive to post excel workbook files to your file server as you complete them. when you attempt to save a workbook file to the drive, you see the error message: “you do not have access to the folder ‘j: \’. see your administrator for access to this folder.” what should you do first
Answers: 2
question
Computers and Technology, 25.06.2019 01:00
Why is outfitting a workplace with video games in a technology development company consiered a strategic use of money
Answers: 1
You know the right answer?
Can anyone help me with this coding assignment? A milk carton can hold 3.78 liters of milk. Each mo...
Questions
question
Chemistry, 12.08.2019 20:10
Questions on the website: 13722366