93.9k views
2 votes
true/false: you can nest a for loop inside another for loop, but cannot nest a while loop inside another while loop or a do-while loop inside another do-while loop.

User Manne W
by
8.7k points

1 Answer

3 votes

Answer:

False. You can nest a while loop inside another while loop, and a do-while loop inside another do-while loop, just as you can nest a for loop inside another for loop.

User Dhaivat Pandya
by
8.1k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.