CONDITIONAL STATEMENTS IN C.
Conditional Statement:- Conditional Statements in C programming are used to make decisions based on the conditions. Types of conditional statements as follows: if statement. else statement. else if statement. Switch statement. Nested statement. 1.if statement:- Use the if statement to specify a block of code to be executed if a condition is true. Syntax: if (condition) { //Here the block of code to be executed if the condition is true ...