Question: C++ Classes & Objects In the 'main' function do the following (1) Create an array of Student class objects (size = 3). (2) Initialize the
C++

Classes & Objects In the 'main' function do the following (1) Create an array of Student class objects (size = 3). (2) Initialize the array elements of Student type with following: ID FirstName LastName 6337130 1387214 5937319 Sandy George Roman Santos Newman Martin Hint - You can initialize each element using numeric indexes, i.e. students[0] = ..., (3) Loop through the array of students objects and use print method to display student detail in each line. Your output should contain: Sandy Santos 6337130 George Newman 1387214 Roman Martin 5937319 LAB ACTIVITY 14.11.1: Lab 5- Classes - Exercise 4 0110 main.cpp
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
