Skip to content

SKILL CHECK 1: Basics Assessment

Seanti edited this page Mar 26, 2025 · 1 revision

1st Skill Check: Student Enrollment System

Problem:

Create a student enrollment system that:

  1. Asks for the student’s name, age, and grade (1-100 scale).

  2. 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.
  3. If eligible, ask how many subjects they want to enroll in and compute the total tuition fee (each subject costs ₱1,500).

  4. Display the final message, including the student’s details and total tuition fee.

Sample Outputs:

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.  

Clone this wiki locally