👉 Flowchart ek diagrammatic representation of an algorithm hota hai jo problem ke steps ko shapes + arrows ki help se dichasia hai.
| Symbol | Name | Use |
|---|---|---|
| ⭕ Oval | Start / End | Program ki beginning & termination |
| ▭ Rectangle | Process | Calculation / Task (e.g., sum = sum+1) |
| ⬜ Parallelogram | Input / Output | Data lena ya print karna |
| 🔷 Diamond | Decision | Condition check (Yes/No branch) |
| → Arrow | Flow Line | Flow of control show karta hai |
⭕ Start
↓
⬜ Input a, b
↓
🔷 Is a > b?
/ \
Yes No
| |
▭ Output a ▭ Output b
↓
⭕ Stop
⭕ Start
↓
⬜ Input n
↓
▭ sum = 0, i = 1
↓
🔷 Is i ≤ n?
/ \
Yes No
| |
▭ sum = sum + i |
▭ i = i + 1 |
\_______________|
↓
⬜ Output sum
↓
⭕ Stop