MeraForum Community.No 1 Pakistani Forum Community - View Single Post - 3rd Class: if Statement In C++
View Single Post
(#1)
Old
Morash's Avatar
Morash Morash is offline
 


Posts: 17,781
My Photos: ()
Country:
Star Sign:
Join Date: Jul 2010
Location: ▌║█║▌│█│║▌║
Gender: Male
cool 3rd Class: if Statement In C++ - >>   Show Printable Version  Show Printable Version   Email this Page  Email this Page   04-09-2014, 07:23 PM



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
Reply With Quote Share on facebook
Sponsored Links