b) Sir Richards of Bishop Herman College has taught his students quadrilaterals. He explained that trapezium is an example of a quadrilateral. You are an intern at the school. Teacher Ziggy has asked you to write a generic C++ program that will enable students to calculate the area and volume of a trapezium. The program should prompt a student to enter the values for the length of the parallel sides and is perpendicular distance between the parallel sides respectively. The program should calculate and display the area and volume of the trapezium. The program should allow a student to try other values for the length of parallel sides and is perpendicular distance between the parallel sides without exiting the program.
Comments
Leave a comment