Question: Please write the code in C. Thank you! (Do not upload irrelevant answers, uploading irrelevant content will not be praised.) Write a program that take

 Please write the code in C. Thank you! (Do not upload

Please write the code in C. Thank you!

(Do not upload irrelevant answers, uploading irrelevant content will not be praised.)

Write a program that take as input the dimensions (in meters) of a round water tank: depth and diameter. It should also take as input the amount of paint (in liters) required to cover one square meter of a surface. The program should compute the amount of paint (liters) required to paint the water tank on the outside as well as the amount of water it can hold. Example of the water tank (assume flat surface for calculations): Tip: Think if you bought the tank above, which sides would you need to paint? For example: Answer: (penalty regime: 10,20,% ) \begin{tabular}{|l|l|} \hline 1 & import math \\ 2 & \\ 3 & def water_capacity(depth, diameter): \\ 4 & return volume \\ 5 & def paint_surface(depth, diameter, paint_per_m2): \\ 6 & 7 \\ 8 & return \end{tabular}

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!