filmov
tv
C Tutorial - Nested If-Else

Показать описание
This video describes how to implement the Nested If/Else Statements in C Programming Language. Using the Nested If/Else Statements we can perform conditional checking more elaborately. Using this technique one conditional checking can be performed under another conditional checking. Hence one if-else statement is created within the block of another if-else it is called as Nested if-else. In the video one integer input is taken from the user and it is checked whether it is positive or negative or zero. At first it checked through a normal if statement that the number is greater than zero or not. If this checking returns TRUE we can take the conclusion that the number is positive, if the checking returns FALSE then it is checked whether it is negative or zero, using another if-else within the else part of the previous if.