(L-8)IF-ELSE AND CONTROL STUCTURES
CONTROL STRUCTURE --> ye vo structures hote hai jo humaare programm me logic daalte
hai.
BASIC CONTROL STUCTURES
1.sequence structure -->bohot basic structure jisme entry lete hai fir 1-2 command
dete hai fir exit kardete hai.
2.selection structure -->isme hum ek condition dete hai jisme agar true hui to ek
output or false hui to koi or output.
3.loop structure -->isme hum ek loop dete hai jisme vo loop tab tak repeat hoga jab
tak statement false nai ho jaati hai fir
programme exit hojata hai.
IF-ELSE STATMENTS
1.if-else
2.if-else ladder
3.switch case
CONTROL STRUCTURE --> ye vo structures hote hai jo humaare programm me logic daalte
hai.
BASIC CONTROL STUCTURES
1.sequence structure -->bohot basic structure jisme entry lete hai fir 1-2 command
dete hai fir exit kardete hai.
2.selection structure -->isme hum ek condition dete hai jisme agar true hui to ek
output or false hui to koi or output.
3.loop structure -->isme hum ek loop dete hai jisme vo loop tab tak repeat hoga jab
tak statement false nai ho jaati hai fir
programme exit hojata hai.
IF-ELSE STATMENTS
1.if-else
2.if-else ladder
3.switch case