An Interest In:
Web News this Week
- March 21, 2024
- March 20, 2024
- March 19, 2024
- March 18, 2024
- March 17, 2024
- March 16, 2024
- March 15, 2024
May 10, 2022 09:28 am GMT
Original Link: https://dev.to/tezoza/selection-statements-difference-between-if-else-and-if-14jk
Selection statements | Difference between if else and if.
Selection statements
if statement if~else
statement
.2 yoki undan kop execution path larni tanlaydi
if ( a > = 0 )
cout << "positive"
if ( a < 0 )
cout << "negative"
IF STATEMENT
. if expression is true exekute statement
syntax
IF-ELSE STATEMENT
if expession is true execute statement 1.if false execute statement 2
Original Link: https://dev.to/tezoza/selection-statements-difference-between-if-else-and-if-14jk
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To