An if statements tests a particular condition, if the condition evaluates to true, a course of action is followed a statement or set of statements is executed. Otherwise ( if the condition evaluates to false ), the course of action is ignored.
|
|
The if-else statement is if you have seen so far allow you to execute a set of statements if a condition or expression evaluates to true. What if there is another course of action to be allowed if the expression evaluates to false. There is another form of if that allows for this of either-or condition by providing else clause.
|
|
It's a special area where you can find special questions and answers for CSE students or IT professionals. Also, In this section, we try to explain a topic in a very deep way.