Created
January 21, 2020 20:37
-
-
Save davidmaogomezz/c7464b26e75b37e7bae44bd71a365955 to your computer and use it in GitHub Desktop.
Ciclo while
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cont = 0 | |
while cont <= 10 | |
puts "el valor de cont es #{cont}" | |
cont += 1 | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cont = 0 | |
while cont <= 10 | |
puts "el valor de cont es #{cont}" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment