Loop Practice

  1. Write a program that lets the user enter a number, and then prints every number between zero and that number that is divisible by 3.
  2. Write a program that lets the user enter exactly 10 numbers, and prints the average.
  3. Write a program that lets the user enter a number, and then prints every number from 1 to that number as a negative number.
  4. Write a program that lets the user enter a string, producing a new string with the letters reversed.