From: Julian Fondren Date: 1998-12-16T22:58:44-06:00 Subject: [ruby-talk:00115] STDIN integer assignment Hello, in the following script, how would I be able to have the input along the lines of ``10 100 '' assign ans1 to 10 and ans2 to 100? #!/usr/bin/env ruby print "Input two numbers to multiply together: " ans1, ans2 = STDIN.gets.to_i, STDIN.gets.to_i print "\n#{ans1*ans2}\n" currently to get an answer something along the lines of ``10 100 '' must be used. thanks,