Level 1: Simple if
1. Check whether a number is positive.
2. Check whether a number is negative.
3. Check whether a number is even.
4. Check whether a number is divisible by 5.
5. Check whether a character is an uppercase letter.
6. Check whether a character is a lowercase letter.
7. Check whether a person is eligible to vote (age ≥ 18).
8. Check whether a number is greater than 100.
Level 2: if-else
9. Check whether a number is even or odd.
10. Find the larger of two numbers.
11. Check whether a number is positive or negative.
12. Check whether a character is a vowel or consonant.
13. Check whether a year is a leap year.
14. Check whether a number is divisible by both 3 and 5.
15. Find the absolute value of a number.
16. Check whether a character is an alphabet or not.
Level 3: else-if
17. Find the largest of three numbers.
18. Calculate grade based on marks:
A: 90–100
B: 80–89
C: 70–79
D: 60–69
F: Below 60
19. Create a simple calculator (+, -, *, /).
20. Determine whether a number is:
Positive
Negative
Zero
21. Check whether a character is:
Uppercase
Lowercase
Digit
Special character
22. Find the type of triangle based on three sides:
Equilateral
Isosceles
Scalene