Question: In this project, you will write a C++ program to simulate some standard activities and operations that occur within a school system on a set

In this project, you will write a C++ program to simulate some standard activities and operations that occur within a school system on a set of students in a COSC 113 class. The data below list the students currently registered to the class. There is a class size limit of 25 students. The information below should be stored in a file and then used as input for this project. THIS PROJECT SHOULD ONLY BE DONE USING CONCEPT COVERED IN CLASS. STRUCTS FOR STUDENT DATA STORAGE.

First Name Last Name Major Student ID GPA Phone Number Home City

Jane Porter Math 173894 3.9 4015388833 Arlington

Clarke Griffith Bio 100100 4.0 3018100100 DC

Craig Bellamy Ctec 128490 0.2 2403849399 Bowie

Manny Rhodes Chem 183903 2.9 3203848499 Largo

Robert Reyes Ctec 137940 3.4 4103948929 Bowie

Alexis Rodrigues Hist 128739 3.2 3014732293 Fairfax

Daniel Proctor Ctec 103848 2.5 3019382923 DC

Oliver Kostermann Cosc 193338 3.8 2049238392 Lanham

John Constantine Hist 183779 3.4 3103938493 Alexandria

Nagisa Hiroyama Chem 129030 3.7 2402874748 Lanham

Simone Xypher Bio 193830 4.0 3013849292 DC

Jason Rundelhause Math 139480 0.9 2013874829 Bowie

Abel Herrera Cosc 123999 1.5 3013983722 Falls Church

Connor Angel Hist 197920 3.7 2402879302 Alexandria

Monica Strauss Bio 110030 0.8 4010393849 Greenbelt

Claire Matteo Hist 102837 3.1 2402884893 Largo

Farida Ahmed Cosc 183920 3.0 3019389282 Arlington

David Masterson Hist 127393 1.4 4102937498 Falls Church

Chloe Gignac Cosc 188292 3.7 3102338229 Fairfax

William Tucker Math 198339 0.5 3019912293 Greenbelt

Daniela Moreira Ctec 139300 3.6 2402919933 DC

Birgit Prinz Cosc 109022 3.9 2018473993 Bowie

You are to create a Menu-driven program that runs continuously until the user of the program decides to stop the program. The program will read the input from a file, and output as requested to the screen. Use appropriate function calls where necessary to simplify your program. Your program should ensure the right data is entered, like 6 digits for the ID, and 10 digits for the Phone, not greater than 4.0 for GPA and so on. Phone number should be stored with string because it exceeds the limits of int, and does not require calculation

Please complete this function

SortClass This is a function to print out the class list in a sorted manner. The class can be sorted by Firstname, StudentID, HomeCity or GPA. Your function should ask the user for the sorting order they prefer and sort accordingly. You can choose to make this question into multiple functions for each sort, or one function. You are also free to use any of the sorting algorithms we covered. Print the sorted list.

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!