Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started