def square(width, height)
 res = width * height
 res
end

area = square 5, 5
puts 面積は"#{area}"

# メソッドは関数とも言う。
# 関数の宣言はdef 関数名で行う。
# メソッドの最後に変数名を書くと、それが戻り値になる