How to do nested if statement | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to do nested if statement

if statement

22nd Feb 2017, 7:16 PM
حسام بدارين
حسام بدارين - avatar
3 Answers
+ 6
Nested if is when you have if statements inside another if statement, how to write it depends on the lenguage you are using, but it is just the same way you write one if statement but with other(could be one or more) if statement inside
22nd Feb 2017, 7:26 PM
C.E.
C.E. - avatar
0
I don't know
22nd Feb 2017, 7:17 PM
حسام بدارين
حسام بدارين - avatar
0
Nested IF is IF statement in another IF statement. For the statement to execute all the IFs must be satisfied. For most programming languages, the syntax is If(condition) If(condition) : : If(condition)
22nd Feb 2017, 7:50 PM
Alkassim Shuaibu Babangida
Alkassim Shuaibu Babangida - avatar