Skip to content

Instantly share code, notes, and snippets.

@MendesGabriel
Created May 1, 2017 20:48
Show Gist options
  • Save MendesGabriel/13341b98cb734ae96f55b547600af1d3 to your computer and use it in GitHub Desktop.
Save MendesGabriel/13341b98cb734ae96f55b547600af1d3 to your computer and use it in GitHub Desktop.
Tabuada em C
#include <stdio.h>
int main() {
int n;
printf("\nDigite número:");
scanf("%d", &n);
printf("\nTabuada do %d é\n", n );
for(int i = 1; i <=10; i++) {
printf("%d X %d = %d\n", i, n, n * i);
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment