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