#!/usr/koeki/bin/ruby x = 9 print "xの値は ", x, "です\n" printf "それを2で割ると %f です\n", x/2