Question: (2) write C++ program to create class called desktop, that contains data members of code, price, speed, model and weight, the class has constructor to

(2) write C++ program to create class called desktop, that contains data members of code, price, speed, model and weight, the class has constructor to assign values and function to display values. The desktop class has a friend function to print the model of the desktop that has the heavist weight among three desktops
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
