#!/usr/koeki/bin/ruby # coding: euc-jp start = 10 stop = 0 while start > stop printf("%d 秒前 \n", start) start -= 1 sleep(1) end printf("発射します \n")