Write a program to print table of a given number

#include
#include
void main()
{
  int n,i,table;
  printf("Enter Number which you want table = ");
  scanf("%d",&n);
  for(i=1;i<=10;i++)
  {
       table=n*i;
        printf("%d\n",table);
  }
getch();
}

---------------------------------------------------------------------------------
OUTPUT : -

Previous Post
Next Post

Related Posts: