Thursday, February 9, 2012

MULTIPLICATION TABLE


#include<stdio.h>
#include<conio.h>
void main()
{
int r,i,j,k;
clrscr();
printf("\nEnter the number range:-");
scanf("%d",&r);
for(i=1;i<=r;i++)
{
for(j=1;j<=10;j++)
printf(" %d*%d=%d",i,j,i*j);
printf("\n");
}
getch();
}

No comments:

Post a Comment