Question: use python please thanks Activity 4) Write a function called volumeCylinder(h,r) that takes two arguments for radius and height, calculates the volume of a cylinder,

use python please thanks
use python please thanks Activity 4) Write a function called volumeCylinder(h,r) that

Activity 4) Write a function called volumeCylinder(h,r) that takes two arguments for radius and height, calculates the volume of a cylinder, and returns the volume rounded off to two decimal places (volume of cylinder: radius?n * height). The result is printed outside the function and the radius and height are entered by the user. Template Up:\Windo... Enter a radius: When the program is ran, it asks the user to enter a radius... X if the user types and enters, the program asks for the height... C:\Windo... Enter a radius: 5 Enter the height: if the user types and enters 2, the program displays a message showing the radius, height, and volume as: CAWindows\py.exe x Enter a radius: 5 Enter the height: 2 The volume with radius 5 and height 2 is 157.08

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!