Posted By

er-cico on 07/14/11


Tagged


Versions (?)

clave


 / Published in: Ruby
 

para introducir claves

  1. clave = "_"
  2. while (clave !="granada")do
  3. puts " Introduce la clave"
  4. clave = gets.chomp #teclado
  5. end
  6. puts " Puedes pasar"

Report this snippet  

You need to login to post a comment.