Question: In Java, complete the following: Classes Exercise A user wishes to apply for a scholarship. Create a program using a class called Student. The Student
In Java, complete the following:
Classes Exercise
A user wishes to apply for a scholarship. Create a program using a class called Student. The Student class will consist of the following members:
Name
Status freshman sophomore, junior, senior
GPAranges from
Major
Using the information, the class will determine if a student qualifies for a scholarship.
The Scholarship model scenarios are the following:
A student qualifies for a $ scholarship:
Freshman with either a GPA of or higher or Computer Science major
Sophomore with a GPA of or higher and Computer Science major
Junior with a GPA of or higher
A student qualifies for a $ scholarship:
a Sophomore with a GPA of
Junior with a GPA of or higher and Computer Science major
A student qualifies for a $ scholarship:
Senior with either a GPA of or Computer Science major
If a student does not qualify for a scholarship display output informing them
Extra Credit pts Allow user to run the model for multiple students at once. The number of students will be provided by the user via input.
Sample Output:Enter a student name: Bob JonesEnter a status: juniorEnter a major: CSEnter a gpa: Bob Jones qualifies for a $ ScholarshipEnter a student name: Bob JonesEnter a student name: Bob JonesEnter a status: freshman
Enter a status: freshman
Enter a major: Math
Enter a major: IT
Enter a gpa:
Enter a gpa: Bob Jones qualifies for a $ Scholarship
Bob Jones does not qualifies for a Scholarship
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
