Created
May 1, 2017 20:48
-
-
Save MendesGabriel/13341b98cb734ae96f55b547600af1d3 to your computer and use it in GitHub Desktop.
Tabuada em C
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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