Write, test, and debug (if necessary) a Ruby program with the following specification: Input: A list of

Question:

Write, test, and debug (if necessary) a Ruby program with the following specification:

Input: A list of numbers from the keyboard.

Output: The second-smallest number in the list, along with its position in the list, with 1 being the position of the first number.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: