diff --git a/sample.rb b/sample.rb index a3d96fa..bb41906 100644 --- a/sample.rb +++ b/sample.rb @@ -1,2 +1,5 @@ msg = "Hello World!" puts msg + +name = gets.chomp +puts "私の名前は#{name}です"