Question: write c++ program that create a class called laptop the data member of class are: brand(string) model(string) serial(int) color(string) price(float) processor(float) RAM(int) screen(float) put values

write c++ program that create a class called laptop the data member of class are:

brand(string)

model(string)

serial(int)

color(string)

price(float)

processor(float)

RAM(int)

screen(float)

put values from user to these data member using a member function named getvalue().

Make a member function name display to display the value of all attributes.

Make three object of laptop and display its value.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!