Episode 18 - Multiple Loops

  1. Write a program that asks the user to type in 10 numbers, one at a time. The program will then print out each number times 2 (be careful to convert strings to numbers!).
  2. Write a program that asks the user to type in 10 words, one at a time. The program will then print out every other word. (Hint: you can use the .even? or .odd? methods on numbers.)
  3. Write a program that asks the user to type in 10 numbers, one at a time. The program will then output the minimum number.