Created
April 8, 2021 05:51
-
-
Save PedroPicasso18/bbcbcaaee79ef3575d288f3b5729fa65 to your computer and use it in GitHub Desktop.
EJERCICIO 2 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
void main(){ | |
//se declaran variables | |
String name='Pedro Picasso'; | |
print('Te mostrare la tabla del 7'); | |
print('Con ayuda de la estructura de repeticion While'); | |
double i=0; | |
double resultado=0; | |
//empieza while | |
while(i<10){ | |
i++; | |
resultado=i*7; | |
print('${i}x7=${resultado}'); | |
print(''); | |
}//final | |
print('programador: ${name}'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment