logo Practice-It logo

DevryAdmit

Language/Type: Java classes input Scanner
Author: Marty Stepp (on 2011/10/17)

Write a complete program in a class named DevryAdmit that uses a Scanner to read user input for a student's grade point average and SAT exam score, and uses these values to decide whether the student is admitted to the university. A GPA below 1.8 will cause the student to be rejected; an SAT score below 900 will also cause a rejection. Otherwise the student is accepted. If both the GPA and the SAT score are too low, print the message about the GPA being too low. Your output should match the following examples:

Devry University admission program
What is your GPA? 3.2
What is your SAT score? 1280
You were accepted!
Devry University admission program
What is your GPA? 3.95
What is your SAT score? 860
Your SAT score is too low.
Devry University admission program
What is your GPA? 1.4
What is your SAT score? 1590
Your GPA is too low.
Type your solution here:


This problem asks for a complete program. Write a complete Java program as a class with a main method. (You do not need to write any import statements.)

You must log in before you can solve this problem.


Log In

If you do not understand how to solve a problem or why your solution doesn't work, please contact your TA or instructor.
If something seems wrong with the site (errors, slow performance, incorrect problems/tests, etc.), please

Is there a problem? Contact a site administrator.