How to make a loop

How to make a loop so program never end, it end only by typing "EXIT"
1) Make a loop based on a condition that can never be false. The simplest way is to use a while loop.

2) Within the loop, get user input.

3) Check the user input. If the input is "EXIT", break out of the loop.
Topic archived. No new replies allowed.