Question: C++ Classes & Objects Create an external function printStudents which takes array of students & number of students as argument and displays the name of

C++

C++ Classes & Objects Create an external function printStudents which takes array

Classes & Objects Create an external function printStudents which takes array of students & number of students as argument and displays the name of the student. void print (Student students[l, int student size) 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 (3) Use the external printStudents function to display student detail in each line. Your output should contain: Sandy Santos 6337130 George Newman 1387214 Roman Martin 5937319 Ty 14.12.1: Lab 5 - Classes - Exercise 5 0110 main.cpp Load default template... 1 #include 3 using namespace std; 5 // YOUR CODE FOR CLASS Student GOES HERE , int student Size) { 8 void printStudents Student students 9 // YOUR CODE GOES HERE 10 ] 13 int mainot 15 16 Student students[3]; Develop mode Submit mode Run your program as often as you'd like, before submitting for grading. Below, type any needed input values in the first box, then click Run program and observe the program's output in the second box

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!