Created
April 8, 2021 05:38
-
-
Save PedroPicasso18/f06170c8e227a425d3cc82e2dd587a9c to your computer and use it in GitHub Desktop.
EJERCICIO 2 FOR
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'; | |
double x=0; | |
print('Te mostrare la tabla del 2'); | |
//Empieza el ciclo de repeticion FOR | |
for(double i=1; i<=10; i++){ | |
x=i*2; | |
print('${i}x2=${x}'); | |
print(''); | |
} | |
//se termina | |
print('Programador: ${name}'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment