Loops and decisions

I want you to experiment with the structures for decisions and loops. You need to think up examples that do not duplicate mine.
In at least one of the loops and one of the if programs, you should take in information at an HTML page and pass the information to the cgi page.
Write a program or programs that illustrate the use of the loops we went over this week:
  1. use the do while
  2. use the while
  3. use the until
Write a program to solve these problems:
  1. Test for a state = MA and a salary > 60000 or a state = RI and a salary > 55000.
  2. Test for a state = MA and either a salary > 60000 or a pay per hour > 25.