Question
Write a Java application named ScholarshipAssessment that can be used to determine a students scholarship eligibility. At the university for which you are writing this
Write a Java application named ScholarshipAssessment that can be used to determine a students scholarship eligibility. At the university for which you are writing this software, scholarships are awarded based on several criteria. In order to be eligible for scholarships students must have completed at least 24 credit hours of courses in the last assessment year or participated in the universitys co-op program during that time. Students must also have a GPA of at least 2.7 to be eligible for scholarships. If a student meets the eligibility criteria, more information is needed to determine the amount of scholarship they will be awarded. All eligible students are awarded a base scholarship of $500. If their GPA is at least 3.0 (inclusive) and up to but not including 3.7 (exclusive), they will receive an additional $200. If they have a GPA of 3.7 or more, they will receive an additional $400. Students will also receive an additional $100 if they have participated in 3 or more clubs, societies, or sports teams at the university. Financial need is another consideration when calculating the scholarship amount. If students have demonstrated financial need, their scholarship amount will be doubled. Write a program will determine if a student is eligible for a scholarship, and if they are, the amount of scholarship they will receive based on their information. Your programs output should resemble the examples shown on the next page. Please note the following additional requirements with regards to invalid input:
1) Whenever the user is prompted to enter yes or no, you must check the input to ensure that input is valid. If it is not valid, (i.e. if it is not one of those two words), continue to prompt the user until they provide valid input. 2) Similarly, all numeric input (credit hours and GPA) must be non-negative. If the user enters an invalid value, (i.e. a negative number), continue to prompt the user until they provide valid input.
Sample executions (note: user input is shown here in bold):
Enter the number of credit hours completed in the last year: 0
Have you participated in a university co-op program in the last year (yes or no)? yes
Enter your GPA: 2.1
Sorry, you are not eligible for a scholarship.
Enter the number of credit hours completed in the last year: 24
Enter your GPA: 2.7
Enter the number of official university clubs, societies, or teams in which you participated last year: 3
Do you have demonstrated financial need (yes or no)? no
You are eligible for a scholarship of $600
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