<=Back
Write a C++ program that implements a class named triangle with the following properties
•has data members named base and height;
•a member function named calculate for inputting base and height, determining the area of triangle and outputting the area.
 Viewed: 499 times
Share in: