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