Posted By

victor11 on 07/07/11


Tagged

victor


Versions (?)

multiplicacion


 / Published in: Ruby
 

con este programa se puede multiplicar

  1. variable = [1,2,3,4,5,6,7,8,9,10]
  2. multiplicacion = 0
  3. variable.each do |i|
  4. multiplicacion = 2*i
  5. puts multiplicacion
  6. end

Report this snippet  

You need to login to post a comment.