Question: This should be a C++ program. Write a program to manage and display student records. The tasks are described below. 1. Define a structure named

This should be a C++ program. Write a program to manage and display student records. The tasks are described below. 1. Define a structure named contactInfo that has two members: email and telNumber. Define a structure named studentInfo that has three members: name,ID,major, and GPA. Define a structure named graduation that has two members: graduated and year. Notice graduated is a boolean type variable. Define a structure named student that has three members: studentInfo, contactInfo, and graduation. 2. Based on the above structure definitions, write statements to finish the program. Your program will 1) Create an array named studentRecords which has 3 elements. Each element is a student structure. 2) Ask the user to input three student records and store the information in the array studentRecords. 3) Inspect the member graduated in each element of studentRecords, if graduated is true, display the students studentInfo ( i.e., name, ID, major, and GPA ); If graduated is false, display the students contactInfo ( i.e., email and telNumber ).

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!