The program language is Java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

The program language is Java

A milk carton can hold 3.75 liters of milk. Each morning, A daily farm ships cartons of milk to a local grocery store. The cost of producing one liter of milk is PhP 16.75 and the profit of each carton of milk is PhP 11.90. Write a program that accept a value to milkAmount (amount if milk produced in the morning.) The program will then output the number if milk cartons needed to hold milk, the cost of milk producing milk and the profit for producing milks.

8th Sep 2022, 11:01 AM
Hubbly Gubbly
Hubbly Gubbly - avatar
2 Answers
+ 1
Attempts?
8th Sep 2022, 11:37 AM
A͢J
A͢J - avatar
+ 1
Please use the post tags properly : ) https://code.sololearn.com/W3uiji9X28C1/?ref=app
8th Sep 2022, 11:41 AM
Ipang