Question: There are several errors existed in the Ct+ program below in calculating the volume of a cone with the height and radius are read from

There are several errors existed in the Ct+ program below in calculating the volume of a cone with the height and radius are read from the user-entry on keyboard. Rectify the program correctly and answer the questions that follows. C++Program with errors: Hinclude using namespace std: seut "lalneut cone's height:" sin ; I/Saculates the cone's volume. v=(1.0/3.0)p(rr)h; squt "lathe volume of the cone is: In ln"v"n=0 return = 3 Answer (show your program and the output): Questions: Answer (show your program and the output): Questions: 1. List 3 variables shown in the program. V,r,h. 2. Name 2 data types used in the classwork 2. 3. What constant is used in classwork 2? 4. Find the syntaxes in the program with the following errors: a. Syntax Error Prepared by Dr. Mohd Sharizal Alias (SCTL 202220) b. Logic Error
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
