+ 1
Can you put an if/else statement inside an if/else statement?
8 Respuestas
+ 1
yes you can, but you are going to make a complicated "if else statement" if this doesn't meet the same "int" on the upper part. They are called loops
+ 1
Yupp
+ 1
posibilities ..but loops gets complicated
+ 1
You can even go deeper and add another if statement, but it will get more complicated and less clear the more you add.
Better use if statements or select cases with logic arguments. If A & B is better than
If A
If B
+ 1
yes ,you can!
+ 1
nested if else
+ 1
yes you can
+ 1
yes you can