Post Page Advertisement [Top]

C-Programming

Why the use of nested if-statement or What is nested if-statement in c-programming and write down the syntax ?

Home  /c-programming# Why the use of nested if-statement or What is nested if-statement in c-programming and write down the syntax ?

  by DizIT Operators on March 28, 2019 in c-programming

Why the use of nested if-statement or What is nested if-statement in c-programming and write down the syntax ?

This is called decision making statement. An if statement consist of another if statement is called nested if . In such statement if the outer condition is true then the inner condition is verified and the process is continue till statement is not executed.............



Syntax :-


If condition:


                If condition:


                                Statement block;


                Else:


                                Statement block;


Else:


                If condition:


                                Statement block;


                Else:


                                Statement block;



Dizit Operators
Thank-you

Tage:-# c-programming 

No comments:

Post a Comment

Bottom Ad [Post Page]