fork download
  1. #include <stdio.h>
  2. int main() {
  3. int n, i;
  4. printf("Enter an integer: ");
  5. scanf("%d", &n);
  6. for (i = 1; i <= 10; ++i) {
  7. printf("%d * %d = %d \n", n, i, n * i);
  8. }
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0s 5300KB
stdin
Standard input is empty
stdout
Enter an integer: 21988 * 1 = 21988 
21988 * 2 = 43976 
21988 * 3 = 65964 
21988 * 4 = 87952 
21988 * 5 = 109940 
21988 * 6 = 131928 
21988 * 7 = 153916 
21988 * 8 = 175904 
21988 * 9 = 197892 
21988 * 10 = 219880