Question: Problem 2: Create an array of classes called Student that holds data for a student. The class should hold the following data: . Name of

Problem 2: Create an array of classes called "Student" that holds data for a student. The class should hold the following data: . Name of each student Age of each student . Address of each student The class should have the following functions setdata (sets the all the data for the class) displaydata (prints out all the data for the class) Write a complete c++ program that creates an array of instances of the class "Student". The program should ask the user to enter how many students to create, then ask and store the information for each student in the array of classes. Then the program should printout the data for each student. Use the new" operator to dynamically allocate memory for the array of classes and don't forget to free up the memory
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
