Question: TASK 5 (total 25 marks): There are several errors existed in the C++ program below in calculating the volume of a cone with the height

TASK 5 (total 25 marks): There are several errors existed in the C++ 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: int main () f float r,h,y float Bil=3.14159 sqQut r cqut "lalneut cone's height:" cin > h; // Caculates the cone's volume. 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 b. Logic Error
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
