Click to follow our Afritutor YouTube Channel, subscribe and click notifications and get updates on new learning videos
<=Back
Write a C++ program that will implement a class named with following properties: (6 marks)
• data members as x and y;
• a constructor for initializing the matrix elements (x =3 and y = 4);
• a member function for displaying the matrix element
• an overloaded operator function for determining the product of the matrix with a scalar that is input in The main function.
Note: The program should display the matrix elements of the product.
 Viewed: 269 times For Better experience and learning,for video answers, after video ends playing, click next question in the questions list!!!
Share in: