C Program to print table of a number

#include <stdio.h>
#include <stdlib.h>

int main()
{
int n,i=1,product;
printf("enter number");
scanf("%d",&n);
for(i=1;i<=n;i++){
product=n;
product*=i;
printf("%d X %d = %d \n",n,i,product);
}
return 0;
}

 

Output