QuestionQuestion

You are the Admissions Office at ABC Medical University. You have a large number of applicants for a very few number of available openings at your school. As a result, you need to set some high admission standards.

To be accepted, a student must have a Grade Point Average (GPA) of 3.7 (on a scale of 0.0 - 4.0) or higher combined with an entrance score exam of 32 or higher. Or, alternatively, the student can have an entrance score of 40 (on a scale of 1-44) or higher, in which case it doesn't matter what the GPA is.

Write a program which determines if a student is eligible for admission at your school. You should prompt the user for both the GPA score and the entrance score. Continue to ask for input until the user enters 0.0 as the GPA.

Your output should be a message indicating acceptance or rejection to ABC Medical University.

Sample Session:

Please enter your GPA: 3.7 Please enter your entrance score: 33
Congratulations! You are hereby admitted to ABC Medical University.
Please enter your GPA: 1.1
Please enter your entrance score: 40
Congratulations! You are hereby admitted to ABC Medical University.
Please enter your GPA: 4.0
Please enter your entrance score: 31
We are sorry! You are hereby denied admission to ABC Medical University.
Please enter your GPA: 0.0

Solution PreviewSolution Preview

This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.

int main(int argc, char** argv) {
    double GPA = 1;
    double entranceScore;
   
    cout<<"Welcome toABC Medical University\n";
    while (true) {
       cout<<"Please enter your GPA: ";
       cin>>GPA;
       if (GPA == 0) { // the user want to stop
            break;
       }
      
       cout<<"Please enter your entrance score: ";
       cin>>entranceScore;...
$18.00 for this solution

PayPal, G Pay, ApplePay, Amazon Pay, and all major credit cards accepted.

Find A Tutor

View available C-Family Programming Tutors

Get College Homework Help.

Are you sure you don't want to upload any files?

Fast tutor response requires as much info as possible.

Decision:
Upload a file
Continue without uploading

SUBMIT YOUR HOMEWORK
We couldn't find that subject.
Please select the best match from the list below.

We'll send you an email right away. If it's not in your inbox, check your spam folder.

  • 1
  • 2
  • 3
Live Chats