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