Skip to content

Instantly share code, notes, and snippets.

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