Newer
Older
Ruby / count.rb
@YAMADA Chiyuho YAMADA Chiyuho on 30 Sep 149 bytes 2023-09-30 14:13:39
#!/usr/bin/env ruby
# -*- coding: utf-8 -*-

count = 0

while count < 10
count += 1
if count % 3 != 0
next
end
printf("3の倍数は%d\n",count)
end