Question: How to input this in c project in Dev C The Problems: 1. A milk carton can hold 3.78 liters of milk. Each morning, a

How to input this in c project in Dev C The Problems:How to input this in c project in Dev C

The Problems: 1. A milk carton can hold 3.78 liters of milk. Each morning, a dairy form ships cartons of milk to a local grocery store. The cost of producing one liter of milk is PhP 19.00, and the profit each carton of milk is PhP 13.50. Write a program that does the following: a. Prompts the user to enter the total amount of milk produced in the morning. b. Outputs the number of milk cartons needed to hold the milk. (round your answer to the nearest integer) c. Outputs the cost of producing milk d. Outputs the selling price of each carton of milk e. Outputs the profit for producing milk. 2. A gardener is paid to cut grass with a rate of Php 30 per square meter. A gasoline charge for use of lawn mower will incur additional PhP 5 per square meter. So that he can appropriately charge, he needs to know the actual area of the lawn. Write a program in C that shall accurately compute for the payment to be charged by the gardener to the customer. The program should be able to do the following: a. Ask for the length and the width of the land area in meters b. Ask for the length and the width of the house within that area in meters Show the computed areas for the land and the house d. Show Actual cost that will be charged by the gardener. c

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!