fork download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. int n, i;
  5.  
  6. printf("Enter number: ");
  7. scanf("%d", &n);
  8.  
  9. printf("Multiplication Table of %d:\n", n);
  10.  
  11. for (i = 1; i <= 10; i++) {
  12. printf("%d x %d = %d\n", i, n, i * n);
  13. }
  14.  
  15. return 0;
  16. }
Success #stdin #stdout 0.01s 5320KB
stdin
Standard input is empty
stdout
Enter number: Multiplication Table of 22014:
1 x 22014 = 22014
2 x 22014 = 44028
3 x 22014 = 66042
4 x 22014 = 88056
5 x 22014 = 110070
6 x 22014 = 132084
7 x 22014 = 154098
8 x 22014 = 176112
9 x 22014 = 198126
10 x 22014 = 220140