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