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, 21.06.2019 20:00
An excel which cell contains =b2 is copied to row below, the same column. what will be the new cell's content
Answers: 2
question
Computers and Technology, 24.06.2019 20:00
Individuals suffering from technology overload feel distressed when deprived of computers and mobile devices.true/fasle
Answers: 2
question
Computers and Technology, 24.06.2019 22:30
To add additional commands to the quick access toolbar, a user can navigate to the view. backstage status bar design file
Answers: 2
question
Computers and Technology, 25.06.2019 04:10
While creating a web page, what does each of the following html tags define? 1. 2. 3. 4. a. defines a new paragraph b. defines a term c. defines a single line break d. defines a heading
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, 08.10.2021 14:00
question
Mathematics, 08.10.2021 14:00
question
English, 08.10.2021 14:00
question
Mathematics, 08.10.2021 14:00
question
Mathematics, 08.10.2021 14:00
Questions on the website: 13722362