C++ only!!! please! 1. Make a class whose objects each represent a memory device. The only attribute an object will have
Posted: Sun May 15, 2022 12:52 pm
C++ only!!!
please!
1. Make a class whose objects each represent a memory device.
The only attribute an object will have is the storage capacity of
the memory. Also, the class has to include the following services
for its objects: determine if two memory devices are the same
change memory storage capacity get memory storage capacity display
memory device information
2. Make a class whose objects each represent a box of
memory devices (use dynamic memory and draw the class diagram).
Also, the class has to include the following services for its
objects: show what's in the box get how much is the sum of the
storage capacity of each memory device that is in the box determine
if two boxes are equal
please!
1. Make a class whose objects each represent a memory device.
The only attribute an object will have is the storage capacity of
the memory. Also, the class has to include the following services
for its objects: determine if two memory devices are the same
change memory storage capacity get memory storage capacity display
memory device information
2. Make a class whose objects each represent a box of
memory devices (use dynamic memory and draw the class diagram).
Also, the class has to include the following services for its
objects: show what's in the box get how much is the sum of the
storage capacity of each memory device that is in the box determine
if two boxes are equal