If/Else Nested While Loop

If/Else with Nested While Loops

Enter a number to see different while loop results based on an if/else condition:

Results: