please check the attached file for all the information needed :)

1 answer below »
please check the attached file for all the information needed :)
Answered 2 days AfterMay 26, 2021

Answer To: please check the attached file for all the information needed :)

Pulkit answered on May 28 2021
154 Votes
85150_c++/.vscode/settings.json
{
"files.associations": {
"iosfwd": "cpp"
}
}
85150_c++/input.txt
L 4.0 600 650 N
M 3.9 610 520 N
L 3.8 590 600 N
85150_c++/machine-problem-2-cfs10lyb.docx
Many prestigious universi
ties have a system called a “Legacy Preference System” which is used to decide which applicants should be accepted to the university. If an applicant’s parent is an alumnus of the university, the applicant will be admitted with lower GPA and SAT scores than if the parent is not an alumnus. (There is currently a lot of discussion about the fairness of this system, but universities get a lot of money from their alumni so they are unwilling to change it!!)
Your assignment for MP2 is to implement a computerized system like this for a very small prestigious university. The university has two schools, Liberal Arts and Music, each with their own criteria for accepting students. Your program must read in certain information about an applicant and print a message saying whether the applicant should be accepted or not.
The criteria for acceptance are:
Liberal Arts
No more than 5 people can be accepted.
If a parent is an alumnus, the GPA must be at least 3.0, but if no parents are alumni the GPA must be at least 3.5.
If a parent is an alumnus, the combined SAT score must be at least 1000, but if no parents are alumni the SAT must be at least 1200.
Music – no preferences for alumni here.
No more than 3 people can be accepted.
Math and verbal SAT’s must be at least 500 each.
Your program must accept as input the school the student is applying to (L or M), their high school grade point average, their math SAT score, their verbal SAT score and whether or not either parent is an alumnus (Y or N).
The program must process several applicants, echoing the data for each applicant and printing a message indicating if the student was accepted to the school they were applying to. If they were not accepted, the message should indicate why. This message only has to indicate one reason for failure in cases of multiple disqualifications.
Acceptances are to be made in the order received so that if a school is full, a later applicant cannot be accepted even if they happen to have better qualifications than an earlier one. You do NOT have to check for bad data coming from the file – assume that it is in the required format and has appropriate...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here