2008-09-23 半径をもとに円の面積を計算 Ruby radius = ARGV[0] area = radius.to_i * radius.to_i * 3.14 puts "半径が" + radius.to_s + "の円の面積は" + area.to_s + "\n"