Practice level 3 · Easy · 30 programs
If and else decisions
Even or odd, leap year, grades, triangles and logins.
The programs in this level
- Check positive or negative
- Check zero or non-zero
- Check even or odd
- Find greater between two numbers
- Find smaller between two numbers
- Find greatest among three numbers
- Find smallest among three numbers
- Check whether a number is divisible by 5
- Check whether a number is divisible by 5 and 11
- Check leap year
- Check voting eligibility
- Check driving license eligibility
- Check pass or fail
- Find grade using marks
- Check uppercase or lowercase
- Check alphabet or not
- Check digit or not
- Check special character or not
- Check vowel or consonant
- Check whether triangle is valid
- Identify triangle type
- Check profit or loss
- Check discount eligibility
- Check salary tax slab
- Check largest of four numbers
- Check smallest of four numbers
- Check whether number is between two values
- Check admission eligibility
- Check login username/password
- Create simple ATM menu