Friday, October 1, 2010

program to print Multiplication Table from 1 to 10

int main()
{
int x,y;
for(x=1;x<=10;x++)
{
for(y=1;y<=10;y++)
{
printf("%d*%d=%d\n",x,y,x*y);
}
printf("\n\n");
}
getch();
}

No comments:

Post a Comment

Google+ Followers