Answered step by step
Verified Expert Solution
Link Copied!

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)
GPA-(ranges from 0-4.0)
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 $1000 scholarship:
Freshman with either a GPA of 3.5 or higher or Computer Science major
Sophomore with a GPA of 3.0 or higher and Computer Science major
Junior with a GPA of 3.5 or higher
A student qualifies for a $5000 scholarship:
a Sophomore with a GPA of 4.0
Junior with a GPA of 3.0 or higher and Computer Science major
A student qualifies for a $10000 scholarship:
Senior with either a GPA of 4.0 or Computer Science major
If a student does not qualify for a scholarship display output informing them
Extra Credit (10pts)- 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: 3.5Bob Jones qualifies for a $5,000 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: 3.2
Enter a gpa: 4.0 Bob Jones qualifies for a $1,000 Scholarship
Bob Jones does not qualifies for a Scholarship
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Development For Dummies

Authors: Allen G. Taylor

1st Edition

978-0764507526

More Books

Students also viewed these Databases questions

Question

=+2. Why does the brand want to advertise?

Answered: 1 week ago