if else in C programming
Let us understand if-else statement in C programming language. if-else statement is a decision making statement used to execute certain set of statements based on the condition value. Syntax of if-else in C: if(condition){ /*1st block of statements*/ } else{ /*2nd block of statements*/ } Here, if and else are the keywords in C. The keyword if tells the compiler that what follows is decision control statement. The block of statements to be executed must be enclosed in opening and closing braces. If only one statement needs to be executed then braces need not be used. In if-else statement, condition...