Question: java code Understand how to use multi - way if statements. Assignment: Develop a program to determine whether a student is eligible for an academic

java code
Understand how to use multi-way if statements.
Assignment: Develop a program to determine whether a student is eligible for an academic scholarship. The scholarship committee has set multiple criteria that must be met, including academic performance, extracurricular involvement, and community service hours.
Eligibility Criteria:
The student must have a GPA of 3.8 or higher. The student must be involved in at least two extracurricular activities. The student must have completed at least 50 hours of community service.
Given the variables double gpa, int extracurriculars, and int serviceHours, already declared and assigned, as well as the variable int scholarshipLevel that has just been declared.
If the GPA requirement is not met, it should assign 0 to the variable scholarshipLevel
If the GPA requirement is met, but no other, assign 1 to scholarshipLevel
If the GPA and the extracurriculars requirement are met, but no other, assign 2 to scholarshipLevel
If the GPA, extracurriculars , and community service requirement are met, but no other, assign 3 to scholarshipLevel

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!