This project was made in my carreer, System Analist, in National University of Rio Cuarto, from Córdoba, Argentina. It was my first project in C.
This is a simple C program that asks the user to input an age and determines the corresponding educational level based on that age.
The program prompts the user to enter an age (e.g., 10) and displays the corresponding education level, following this logic:
- 1 to 4 years → Pre-school level
- 5 years → Kindergarten
- 6 to 11 years → Primary school
- 12 to 17 years → Secondary school
- Above 17 → University level
- Other cases → Invalid age
Compile the code using gcc or any standard C compiler:
gcc education_level.c -o education_level
./education_level