[Solved] Write, test, debug (if necessary) a Ruby program with the following specification: Input: A list of numbers from the keyboard

Write, test, 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.

Leave a Reply

Your email address will not be published. Required fields are marked *