Quantcast
Channel: EmotiCODE - Snippets and Source Code Search Engine
Viewing all articles
Browse latest Browse all 146

Ruby - conversor,sumar 3 numeros y mayor de edad

$
0
0
def mayorDeEdad(anios) if anios >= 18 puts " ¡Qué mayor!" else puts " ¡Aun no eres mayor de edad!" end end puts " ¿Cuantos anios tienes?" anios = gets.chomp.to_i ...

Viewing all articles
Browse latest Browse all 146

Trending Articles