Skip to content

Instantly share code, notes, and snippets.

@tomcha
Created March 7, 2015 04:16
Show Gist options
  • Select an option

  • Save tomcha/9f28497dec956eec2abd to your computer and use it in GitHub Desktop.

Select an option

Save tomcha/9f28497dec956eec2abd to your computer and use it in GitHub Desktop.
入力、出力、変数を使う練習問題解答例
print "あなたの名前は? >>>"
name = gets
name.chomp!
puts "あなたは#{name}さんですね。"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment