Ruby Examples
This commit is contained in:
14
level1/10.rb
Executable file
14
level1/10.rb
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/ruby
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
=begin
|
||||
구구단 전체 출력
|
||||
=end
|
||||
|
||||
(2..9).each do |i|
|
||||
(1..9).each do |j|
|
||||
puts "#{i} * #{j} = #{i * j}"
|
||||
end
|
||||
puts
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user