Ruby Examples

This commit is contained in:
2026-01-15 14:01:21 +09:00
commit cf3d7d3296
76 changed files with 1191 additions and 0 deletions

11
level1/07.rb Executable file
View File

@@ -0,0 +1,11 @@
#!/usr/bin/ruby
# -*- coding: utf-8 -*-
=begin
1~100 중 3의 배수만 출력
=end
(1..100).each do |item|
puts item if (item % 3 == 0)
end