#!/usr/bin/env ruby # -*- coding: utf-8 -*- count = 0 while count <1 count += 1 if count % 0.1 !=0 next end printf("0.1の倍数は%d\n", count) end