 |
|
|
Posts: 17,781
Country:
Star Sign:
Join Date: Jul 2010
Location: ▌║█║▌│█│║▌║
Gender:
|
|
If Statement In C++
The if statement Is Used To Execute Or Ignore A Set Of Statements After Testing A Give Condition.
If The Given Condition Is True The Following Statement Will Be Executed Otherwise Will Be Ignored
And The Control Will Transfer To The Next Statement.
Syntax:
if(condition)
{
Statement1;
}
Example

Output (Condition True, Statement Executed)

Output (Condition False, Statement Ignored)

➳ bE driveN wiTh puRpOse, Be r313n71355 in your alιgnмenт;
with excellence.
pAy n0 mInd to the ∂ιsιмραssισηε∂ เ๓ק๏tєภt ђคtєгร ♬
☣.. нoolιgan ☠
|