Newer
Older
Ruby / namehello.rb
@NAMBA Kodai NAMBA Kodai on 4 Oct 2021 172 bytes 2021-10-04 19:13:22
#!/usr/bin/env ruby
#_*_ coding: utf-8*_

def hello2(x)
  printf("%sさん、こんにちは\n",x)
end

print"名前を入力してね:"
name = gets.chomp
hello2(name)