Skip to content

Instantly share code, notes, and snippets.

@tuxcuiabano
Last active September 8, 2016 18:30
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 tuxcuiabano/45697493103ab6dc37f0e5789d73cb34 to your computer and use it in GitHub Desktop.
Save tuxcuiabano/45697493103ab6dc37f0e5789d73cb34 to your computer and use it in GitHub Desktop.
Enquanto Encadeado
#include <stdio.h>
int main(){
int i=2;
int j=0;
int tab;
while(i<=10){
printf("Tabuada do %d\n",i);
while(j<=10){
tab = i * j;
printf("%d x %d = %d\n",i,j,tab);
j++;
}
j=0;
printf("————————\n");
i++;
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment