C++ only!!! please! 1. Make a class whose objects each represent a memory device. The only attribute an object will have

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

C++ only!!! please! 1. Make a class whose objects each represent a memory device. The only attribute an object will have

Post by answerhappygod »

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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply