Question: C++ Lab Test Write a program to calculate the area and volume of a pyramid. Ask the user to enter value of the side length
C++ Lab Test Write a program to calculate the area and volume of a pyramid. Ask the user to enter value of the side length and the height of the pyramid. The program should consist of 1 class with 21 functions, one for area and the other for the volume. If the user enters a negative value for any of the variables, the program should display an error message on the screen
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
