If else statement like any other computer language are used for condition. If the condition satisfies it goes for first statement and if it does not than it goes for the second statement.
1.if is use to run a code if a condition is true.
2.else is used to run a code if a condition is false
3.else if used to run a code for a new condition if previous statement is false
0 Comment(s)