Levels Tought:
Elementary,Middle School,High School,College,University,PHD
Teaching Since: | May 2017 |
Last Sign in: | 307 Weeks Ago, 4 Days Ago |
Questions Answered: | 66690 |
Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
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.
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------sol-----------uti-----------on.-----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- ca-----------tch-----------