Posts by Hugo Rodrigues • 11 points
1 post
-
1
votes1
answer51
viewsQ: Power ball in Ruby
I did the following program: class PowerBall def jogo brancas = Array.new 50.times{brancas << false} brancasSorteadas = Array.new 5.times{brancasSorteadas << 0} for x in brancasSorteadas…
rubyasked Hugo Rodrigues 11