Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ Just complete it please, Classes & Objects Create an external function printStudents which takes array of students & number of students as argument and

C++

Just complete it please,

image text in transcribed

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 studentsil, int studentsize) 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: First Name Last Name 6337130 1387214 5937319 Sandy George Roman Santos New 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 LAB w 14.12.1: Lab 5 Classes - Exercise 5 0110 main.cpp Load default template.... 1 winclude using namespace std; 5 // YOUR CODE FOR CLASS Student GOES HERE 8 void printStudents(Student students, int studentSize) 9 // YOUR CODE GOES HERE 10} Develop mode Run your program as often as you'd ke, before submitting for grading Below, type any needed input values in the first box then click Run program and observe the Submit mode programis output in the second box Enter program input (optional) If your code requires input values, provide them here. Run program Input (from above) - main.cpp (Your program) Output (shown below) Program output displayed here 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 studentsil, int studentsize) 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: First Name Last Name 6337130 1387214 5937319 Sandy George Roman Santos New 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 LAB w 14.12.1: Lab 5 Classes - Exercise 5 0110 main.cpp Load default template.... 1 winclude using namespace std; 5 // YOUR CODE FOR CLASS Student GOES HERE 8 void printStudents(Student students, int studentSize) 9 // YOUR CODE GOES HERE 10} Develop mode Run your program as often as you'd ke, before submitting for grading Below, type any needed input values in the first box then click Run program and observe the Submit mode programis output in the second box Enter program input (optional) If your code requires input values, provide them here. Run program Input (from above) - main.cpp (Your program) Output (shown below) Program output displayed here

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions