U E D R , A S I H C RSS

데블스캠프2011/넷째날/루비/김준석


~ruby
def my_dice
 a = gets.to_i % 10
 b = (rand * 10 + 1).to_i
 if a == b then
    puts ""
 else if a> b then
        puts " "
      else puts " "
      end
 end
 puts a
 puts b
end
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:29:11
Processing time 0.0074 sec