Question: C++ Program 6) Writ te a c++ program using CodeBlocks to calculate the volume of a cylinder for a range of integer radi. Vcylinder T2h
C++ Program 6) Writ te a c++ program using CodeBlocks to calculate the volume of a cylinder for a range of integer radi. Vcylinder T2h Program Requirements Use CodeBlocks v13.12 to build and run your program. Name your program: Lastname_Cylinder.cpp Your code should be properly commented to describe what you are doing 1. 2. 3. The user should be prompted to enter the height (as a real number), the lowest radius value (as an integer) and the highest radius value (also as an integer). You must create and use a function to calculate the volume of the cylinder. You must output the results for the volume for each of the radii from the lowest radius to the highest radius incrementing by 1. 4. 5. You can use the following template to start writing your program: include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
