source file name: Table1.C

void main()

{

int tn;

int n=1;

clrscr();

printf("\n enter any table no:");

scanf("%d",&tn);

for(n=1;n<=10;n++)

{

printf("\n %d ",tn*n);

}

getch();

}

output: