Question: 18 Write a C++ program to Read the Radius of Object and Code from the user . Check the Choice and print the corresponding Operation
18 Write a C++ program to Read the Radius of Object and Code from the user . Check the Choice and print the corresponding Operation Result given in Table 2 using Switch Case statement (Assume n=3.14) Table 2 Code Formula Volume of Sphere = 4/3mtr3 V or v A or a Area of Circle=1tr2 Corc Circumference of Circle=2 ter Any other code Error Input Sample Out Put: Enter the Radius : 5 Enter the Code : A Area of Circle is: 78.5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
