diff --git a/hello.rb b/hello.rb index 87606a7..942dbb5 100644 --- a/hello.rb +++ b/hello.rb @@ -2,4 +2,3 @@ print("こんにちは\n") print("2期生の佐藤謙司郎です\n") print("よろしくお願いします\n") - diff --git a/rensyu.rb b/rensyu.rb new file mode 100644 index 0000000..0de17bb --- /dev/null +++ b/rensyu.rb @@ -0,0 +1,6 @@ +# coding: utf-8 +print("名前を入れる\n") +name=gets.chomp +print("数字を入れる\n") +nenrei=gets.to_i +printf(