Question: 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,
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 or higher. The student must be involved in at least two extracurricular activities. The student must have completed at least 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 to the variable scholarshipLevel
If the GPA requirement is met, but no other, assign to scholarshipLevel
If the GPA and the extracurriculars requirement are met, but no other, assign to scholarshipLevel
If the GPA, extracurriculars and community service requirement are met, but no other, assign to scholarshipLevel
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
