C Program to generate multiplication table up to 10 of a given number using for loop.

#include<stdio.h>
void main()
{
int gno,i;
printf("Enter any number to generate multiplication table :");
scanf("%d",&gno);
for(i=1;i<=10;i++)
  {
  printf("\n%d",gno*i);
   }
}