If else
Hello friends in this new
post it is about "if else" statement. It is a conditional statement.
What is the use of the if
else statement?
The if/else statement
executes a block of code if a specified condition is true. If the
condition is false, another block of code can be executed. The if/else
statement is a part of c++'s"Conditional" Statements, which are used
to perform different actions based on different conditions.
Here
you can see a very simple program showing use of if else statement
for finding largest value. And you can see its output also.