Write a program that does the subsequent for 50 liters of


Program: 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.58, cost of each carton itself is $0.25 and the sale price on each carton of milk is $3.99.

- Write a program that does the subsequent for 50 liters of milk produced in the morning.

1. Outputs the number of milk cartons needed to hold milk. Please remember you can't have partially filled cartons of milk.

2. Output the cost of producing milk. (This cost is for the whole 50 liters)

3. Output the gross revenue.

4. Output the profit earned for the day.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a program that does the subsequent for 50 liters of
Reference No:- TGS0952696

Expected delivery within 24 Hours