Skip to content

Instantly share code, notes, and snippets.

@PedroPicasso18
Created April 8, 2021 05:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PedroPicasso18/bbcbcaaee79ef3575d288f3b5729fa65 to your computer and use it in GitHub Desktop.
Save PedroPicasso18/bbcbcaaee79ef3575d288f3b5729fa65 to your computer and use it in GitHub Desktop.
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