Problem

a. The Williamsburg Women’s Club offers scholarships to local high school students who m...

a. The Williamsburg Women’s Club offers scholarships to local high school students who meet any of several criteria. Write an application that prompts the user for a student’s numeric high school grade point average (for example, 3.2), the student’s number of extracurricular activities, and the student’s number of service activities. Display the message “Scholarship candidate” if the student has any of the following:

. A grade point average of 3.8 or above and at least one extracurricular activity and one service activity

. A grade point average below 3.8 but at least 3.4 and a total of at least three extracurricular and service activities

. A grade point average below 3.4 but at least 3.0 and at least two extracurricular activities and three service activities If the student does not meet any of the qualification criteria, display “Not a candidate.” Save the file as Scholarship.java.

b. Modify the Scholarship application so that if a user enters a grade point average under 0 or over 4.0, or a negative value for either of the activities, an error message appears. Save the file as Scholarship2.java.

If the student does not meet any of the qualification criteria, display “Not a candidate.” Save the file as Scholarship.java.

b. Modify the Scholarship application so that if a user enters a grade point average under 0 or over 4.0, or a negative value for either of the activities, an error message appears. Save the file as Scholarship2.java.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT