Example to demonstrate Nested IF :
Refer Find largest from given numbers also.
Refer Find largest from given numbers also.
#include<stdio.h> #include<conio.h> void main() { clrscr(); printf("First Section\n"); { printf("Second Section\n"); { printf("Third section\n"); { printf("Fourth Section\n"); } } } getch(); } |
Output:
First Section
Second Section
Third Section
Fourth Section
=========================================================================
No comments:
Post a Comment