ProgramsLogic building

Phase 1 - Level 1: Simple Conditions

Practice basic conditional thinking with simple if-else statements and boolean logic.

10 programs · open one, then the next

Start with Check if Number is Positive, Negative, or Zero
  1. 01Check if Number is Positive, Negative, or ZeroBeginnerTake a number and print whether it's positive, negative, or zero.Open example →
  2. 02Check if a Number is Even or OddBeginnerCheck if a number is even or odd using modulo operator.Open example →
  3. 03Check if a Number is Divisible by 5BeginnerCheck if a number is divisible by 5.Open example →
  4. 04Check if Divisible by Both 3 and 5BeginnerCheck if a number is divisible by both 3 and 5.Open example →
  5. 05Check if a Given Year is a Leap YearBeginnerDetermine if a year is a leap year based on leap year rules.Open example →
  6. 06Take Two Numbers and Print the Larger OneBeginnerCompare two numbers and print the larger one.Open example →
  7. 07Take Three Numbers and Print the LargestBeginnerCompare three numbers and find the largest.Open example →
  8. 08Temperature Range CheckBeginnerTake a temperature value and print "Cold", "Warm", or "Hot" using range conditions.Open example →
  9. 09Check if Character is Vowel or ConsonantBeginnerTake a character and check if it's a vowel or consonant.Open example →
  10. 10Check Character TypeBeginnerTake a character and check whether it's uppercase, lowercase, a digit, or a special character.Open example →