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 03:20
Which of these is a benefit of social networking? oa. hiding your true identity from friendsob. avoiding talking to people in personoc. spending time with friends instead of studyingod. connecting with new people
Answers: 2
question
Computers and Technology, 22.06.2019 12:00
Which of the following does 3d animation create an illusion of on the screen? a. depth b. emotion c. length d. dialogue
Answers: 1
question
Computers and Technology, 24.06.2019 10:00
When writing a business letter, how many times can you use the same merge field in a document? once once, unless using the address block feature unlimited it will depend on the type of document you choose
Answers: 1
question
Computers and Technology, 24.06.2019 12:00
Jack is assisting his younger sibling mary with her mathematics assignment, which includes a study of the number system. jack explains to mary that whole numbers are counting numbers that could be used to record the number of fruits in a basket. which data type represents whole numbers? a.integers.b.floating-point numbers. c.strings.d.boolean
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
Mathematics, 16.12.2020 20:30
question
Mathematics, 16.12.2020 20:30
Questions on the website: 13722367