Question: Using the structure declaration for Student: struct Student { string name; //the students first and last name char classif; // the classification of the student

Using the structure declaration for Student: struct Student { string name; //the students first and last name char classif; // the classification of the student f-fresh, s-soph, j-junior, r-senior int grad; //the year of graduation }; write a program to create and print, structure objects for the following students: Laura Spelman is a Sophomore graduating in 2020 Akira Holmes is a Senior graduating in 2018

Hint: you will need to create an if/else if or switch to convert the class designation to the word Freshman, Sophomore, Junior, Senior

Note: In C++

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!