Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
EJERCICIO 2 WHILE
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