Question: Task2:(Program) (c) program code + flowchart Write a program that calculates the volume of a cylinder. The program should ask the user to enter the
Task2:(Program) (c) program code + flowchart Write a program that calculates the volume of a cylinder. The program should ask the user to enter the following data: The Radius of the base The height of the cylinder The value of PI supposed to be constant. Based on the given values, the program should calculate the volume using the volume formula V = #r*h and give the following exact output "The Volume of the cylinder is." Change the code above so that the output will be as following "The Volume of the cylinder that has a radius of...and a height of ... is
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
