Question: Python Programming Challenge: Write a Python 3 program that calculates the amount of coating and cost of the coating for covering the entire outside of

Python Programming Challenge: Write a Python 3 program that calculates the amount of coating and cost of the coating for covering the entire outside of a cylinder. The user is to be prompted for the radius and height of the cylinder and the cost per pint of coating. The program is to calculate the number of whole pints required and the cost of the coating. It has been determined that 8 pints of a coating can cover 400 square feet of surface area for all types of coatings. Partial pints cannot be used, only full pints. The program is to handle exceptions and not crash based on user input. A negative radius, height, or cost per pint are not to be accepted from the user. The calculated number of pints is to be presented to the user as an integer and the cost is to be presented with two decimal places after the decimal point and the $ symbol before the value (example: $54.21). After each calculation the user is to be prompted if they want to perform another calculation.

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!