# Problem Specification

Infinite Loops!

1. Problem Description

• Modify the InfiniteLoops.java file from the class website.

2. What to Turn In

• Your modified InfiniteLoops.java file
• Questions:
1. What happened when you ran the program? (Did you need to close the program? Did it run fine or did you run into issues?)
2. How do you think you’d achieve the same result using a for loop instead of a while loop?