#include<stdio.h>
#include<conio.h>
void main()
{
int n,i,tab;
clrscr();
printf("enter an number to print table");
scanf("%d",&n);
for(i=1;i<=10;i++)
{
tab=n*i;
printf("%d * %d = %d" n,i,tab);
}
getch();
}
#include<conio.h>
void main()
{
int n,i,tab;
clrscr();
printf("enter an number to print table");
scanf("%d",&n);
for(i=1;i<=10;i++)
{
tab=n*i;
printf("%d * %d = %d" n,i,tab);
}
getch();
}
No comments:
Post a Comment