subject

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.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:00
Which one of the following identifies the primary a purpose of information classification processes? a. define the requirements for protecting sensitive data.b. define the requirements for backing up data.c. define the requirements for storing data.d. define the requirements for transmitting data.
Answers: 2
question
Computers and Technology, 21.06.2019 22:10
Is the following an example of social media viral marketing? indicate your response by selecting yes or no. when you sign onto your favorite social networking website, you get messages from friends who have seen a television show they thought was a "must see! "
Answers: 1
question
Computers and Technology, 23.06.2019 15:30
Hey so i was just trying out some game hacks so i took a paste from online and built it in my visual studio and then suddenly my computer was working or clicking on stuff on its own am i hacked?
Answers: 1
question
Computers and Technology, 24.06.2019 17:40
When analyzing data sets, such as data for human heights or for human weights, a common step is to adjust the data. this can be done by normalizing to values between 0 and 1, or throwing away outliers. for this program, adjust the values by subtracting the smallest value from all the values. the input begins with an integer indicating the number of integers that follow. ex: if the input is 5 30 50 10 70 65, the output is: 20 40 0 60 55
Answers: 1
You know the right answer?
Amilk carton can hold 3.78 liters of milk. each morning, adairy farm ships cartons of milk to a loca...
Questions
question
Mathematics, 25.09.2019 17:50
Questions on the website: 13722367