🎯 Learning Objectives

By the end of this class, students will be able to:

🧠 1. Why Do We Need Conditions?

In real life, we make decisions all the time.

🧍Example:

Similarly, in programming, we use conditional statements to make decisions based on conditions.

💡 2. What Are Conditional Statements?

They help the program decide which block of code to execute depending on whether a condition is true or false.

⚙️ 3. Syntax and Types

1️⃣ if Statement

Used to execute code only if a condition is true.

let age = 20;

if (age >= 18) {
  console.log("You can vote!");
}

🗣️ Real-life: