Newer
Older
Ruby / count.rb
@MASUKO Haru MASUKO Haru on 4 Aug 2024 149 bytes 2024-08-04 01:53:45
#!/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