Discuss if else statement

No comments
If else :-  This is a bi-directional selection control statement which is used to take one of the two possible action.

The syntax of an if.... else statement is -

{
     if(expression)
          statement 1
     else
           statement 2
}

The expression inside the parentheses is evaluated and if it is true then statement 1 is executed and if the expression is false then statement is executed. This expression is often called the if condition. The following figure shows the flow chart for an if else statement.

Syntax 



else,statement,if,if else statement,if statement,else if,else statement,if elseif else statement,if statements,excel vba - if elseif else statement,nested if else statement,if else statements,if else,branching if - else statement,how to use if else statements,nested if else statements in c

No comments :

Post a Comment

Subscribe

Milan Panda
Admin
About Me | Contact
Copyright 2023-2024 © Programming1011 . 🎀 Developed and Design By- Milan Panda. Happy Holi All Of You 🎀