You are on page 1of 1

C Programming ELE 108

HOMEWORK

Please note! The better your ouput looks, the better grades you get.
In this homework you are responsible of forming the PADIT design steps and make
sure you include the appropriate information and comments in your code.

Homework2: A manufacturer wants to determine the cost of producing an open-top


cylindrical container. Write a program to read in the radius of the base, tbe height of
the container, the cost per square centimeter of the material, and the number of
containers to be produced. Calculate the cost of each container and the total cost of
producing all the containers.
Make sure that the program displays instructions to the user in detail. Include a
function that introduces yourself to the user of the program, before the program
begins called instruct()
What to return?
Return the PADIT of your work (along with the implementation). Include a sample Test
screenshots of your output with at least a couple of values

You might also like