Categories
October Surprise 2024

Decision Making in C (if , if..else, Nested if, if-else-if )

The if-else statement is used to execute one block of code if a condition is true and another block if it is false. The if block executes when the condition is true.