int n, i; printf("Enter a number: "); scanf("%d", &n); printf("Multiplication table of %d: ", n); for (i = 1; i <= 10; i++){ printf("%d x %d = %d ", n, i, n * i); } return 0;