Write C Program Storing Information Series Balls Collected Person Balls Characteristics 1 Q43905927
Write a C++ program for storing information on a series of ballscollected by a person. The balls should have thesecharacteristics:
1. Diameter in mm
2. Color
3. if the texture of the surface is smooth or rough
4. an identification id/number
The program should allow the person to enter the values for theballs’ attributes as they are entered in a database. The programshould then offer the choice to save all new data into a file.
Next, the program should offer these operations:
1. List all balls with diameters above 10mm (Show all attributevalues)
2. List all balls with less or equal to 10mm (Show all attributevalues)
3. Show all balls that are smooth (Show all attribute values asa list)
4. Show all balls that are rough (Show all attribute values as alist)
5. Find a specific ball based on its id (Show allattributes)
6. How many balls of a specific color are in the database? (Showa total)
Program requirements:
1. The program must be OOP
2. Use of an array as temporary buffer to store ball objects
3. Move content of array to file
4. Retrieve all objects in file to an array at run time
5. Use of menus to direct user on the various available optionsfor the program.
6. Use of header files for the classes need for this program(Use a project setup rather than a single app).
Expert Answer
Answer to Write a C++ program for storing information on a series of balls collected by a person. The balls should have these char…
OR