2013-06-30から1日間の記事一覧
x=ARGV[0].to_f #Convert first argument to a number y=ARGV[1].to_f #convert second argument to a number sum=x+y #Add the arguments puts sum #Print the sum#if x is less than 10, increment it #same simple conditional x=1 while x if x x+=1 put…