Create a ruby program-list of numbers


Discuss the below:

Create 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.

 

Solution Preview :

Prepared by a verified Expert
Programming Languages: Create a ruby program-list of numbers
Reference No:- TGS01933230

Now Priced at $20 (50% Discount)

Recommended (98%)

Rated (4.3/5)