Question: C++ pls Repeart problem 2 but create an array for the object of type PART. This way one could actually have an appropriate inventory program
C++ pls Repeart problem 2 but create an array for the object of type PART. This way one could actually have an appropriate inventory program that will accomodate as many designes as user have. The previous program will only have three designs (PARTS).
This is the problem #2
Write a program to create an inventory of a part that is designed by an engineer. That is your program should read the follwing data as part of a particular design that an engineer creates: a. Name of the part b. date designed (release date) c. Length, width, thickness, radius d. weight e. Material (Iron, steel, etc etc) f. Cost Note that an engineer will design total of three parts so your program will need to have three objects. Let's create a class that will be used to create objects with the above properties. You may create a class for an object of type PART. Then you will declare three objects of the type PART. After reading the necessary info then your program will print out the inventory data in a culumn format such as: Name Date length etc etc etc xxxx xxxx xxxxx xxx xxx xxx
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
