<=Back
Write a C++ program that will implement a class containing the dimensions of a rectangle and a parameterized function to initialize the dimensions an object of the class as 12 cm and 5 cm respectively. The program should then pass the object to a function which determines the length of the diagonal. Output the length of the diagonal
 Viewed: 516 times
Share in: