what is wrong with this code..somebody please help
puts "Enter a number"STDOUT.flushnum1 = gets.chomp.to_iputs "Enter another number"STDOUT.flushnum2 = gets.chomp.to_i
output = num1 * num2
puts output
Well it works fine for me. Try updating to version 1.9.0.To admins : Is there a chance for updating ruby to 1.9.0 ? 1.8.5 is old and i think is no longer compatible with the newest version. And 1.9.0 is 2 times faster than 1.8.5.