Multiple nests? | SoloLearn: Learn to code for FREE!

+1

Multiple nests?

for the nested if else statements, can I make nested statements within nested statements? to make page long on going program

c++

4/16/2017 1:37:15 AM

Adam Dewitt

6 Answers

New Answer

+11

Yep, you can nest if/else and other structures as much as required for what you need. Just make sure you keep track of the braces and indents well.

+11

If you need to make nested if else statements within other nested statements, there are usually better ways to do it.

+11

Ok, good luck :>

+5

Yes, you can use as many nested elements you can. but if you want your program to pause after a particular output use 'delay' instead. syntax : delay(miliseconds); Eg : delay(1000); for this program will wait 1second before processing next statement.

+1

so can I set up a section of nested statements and use delay(1000) and start with a new segment of nested statements?

+1

I understand that, just working with what I have for fun