Question: Write a complete C# app to prompt the user for the double radius of a cylinder and the double height of the cylinder. Write a
Write a complete C# app to prompt the user for the double radius of a cylinder and the double height of the cylinder. Write a method called CylinderVolume that will take in the radius and height as parameters, calculate the volume of the cylinder, and return the result to Main. Have Main display the result to the user.
The formula for the volume of a cylinder is as follows: Volume = r2h
Please use the appropriate Math .NET Library methods when necessary.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
