What is if-else condition in programming language?
What is if-else condition in programming language?
259
07-Nov-2021
Ravi Vishwakarma
08-Nov-2021If-else statement, All programmers are familier with if-else statement.
In C if-else statement is used to perform operations based on your specific condition. The specified operation in the block is executed if and only if the given condition is true and condition is false then control goes to else part.
Syntax.
Program
Output: