Please can you make this C++ program work with array instead of vector: Write a
ID: 664603 • Letter: P
Question
Please can you make this C++ program work with array instead of vector:
Write a class called VideoGameType. It must contain at least five instance variables: including name, price, type, year, and manufacturer. Include appropriate accessor and mutator functions, constructors (default and parameter-based), and a print() function. Use the three-file system. The more functionality creates is better.
In the main application file, create an array of ten VideoGameType objects. Fill the array however you would like. Also, in the main application file, include functions that find the highest priced video game, the lowest priced video game, the oldest video game, and the youngest video game. Also, include a function that prints out all of the information about the VideoGames. The program should be menu-based.
- Programs must contain comments throughout and 3 files: VideoGameType.h, VideoGameType.cpp, VideoGameTypeMain.cpp, and any text files.
- Use : getName, getPrice, getType, getYear, getManufacture
: setName, setPrice, setType, setYear, setManufacture
Use functions whenever possible.