Wednesday, March 14, 2012

OPERATING CONDITIONS C++ LANGUAGE : IF - ELSE STATEMENTS

If - else statements have the meaning "if the condition is true, then statement-1 will be done and if it does not qualify then it will work on a statement-2". Of understanding can be seen in the flow chart in Figure 2. flow chart if else.



General form of if-else statement


Flow chart in image 2, if else statement-1 and statement-2 can be either a single statement, compound statement, or an empty statement. If the if-else statement followed by a plural, a form of writing found on page 3.

Common forms of multiple if-else statement


0 comments:

Post a Comment