Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
May 10, 2022 09:28 am GMT

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:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To