-
Notifications
You must be signed in to change notification settings - Fork 0
SKILL CHECK 1: Basics Assessment
Seanti edited this page Mar 26, 2025
·
1 revision
Create a student enrollment system that:
-
Asks for the student’s name, age, and grade (1-100 scale).
-
Checks if the student is eligible for enrollment:
- The student must be at least 18 years old and have a grade of 75 or higher.
-
If eligible, ask how many subjects they want to enroll in and compute the total tuition fee (each subject costs ₱1,500).
-
Display the final message, including the student’s details and total tuition fee.
✅ If the student is eligible:
Enter student name: Juan Dela Cruz
Enter age: 19
Enter grade: 80
You are eligible for enrollment.
Enter the number of subjects you want to enroll in: 5
Total tuition fee: ₱7,500
❌ If the student is too young:
Enter student name: Maria Santos
Enter age: 17
Enter grade: 78
You are not eligible for enrollment. You must be at least 18 years old.
❌ If the student’s grade is too low:
Enter student name: Pedro Reyes
Enter age: 18
Enter grade: 72
You are not eligible for enrollment. Your grade must be at least 75.