-2
這裏有什麼問題?我不知道?我的代碼行在這裏有什麼問題?
print "Type the first digit, hit enter."
first_digit = gets.chomp
print "Now type the second digit you wish to add."
second_digit = gets.chomp
answer = second_digit + first digit
print "Here is your answer:#{answer}"
sleep 5
到底哪裏出問題了? –
你是什麼意思'錯'什麼是或不工作?你能給我們一些錯誤嗎? – BlackHatSamurai
不知道,命令提示符關閉太快,我看不到。 –