Question: having trouble with this assignment in c++ Define a base class named Computer whose components are wordSize (in bits), memorySize (in megabytes), storageSize (in megabytes),

having trouble with this assignment in c++

Define a base class named Computer whose components are wordSize (in bits), memorySize (in megabytes), storageSize (in megabytes), and speed (in megahertz). Derive a Laptop class that is a kind of Computer, but also specifies the object's length, width, height (inches), and weight (pounds). Member functions for both classes should include a default constructor and a constructor that initializes all components.

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!