Thursday, December 11, 2008

Multiplication Table in C Language

#include

int main()
{
//char ans;
int column,row,i,j;
printf("rows:");
scanf("%d",&row);
printf("column:");
scanf("%d",&column);
i=0;
while(i
{
j=0;
printf("%d\t",(i+1));
while(j
{
printf("%d\t",(i+1)*(j+1));
j++;
}
printf("\n");
i++;
}
return 0;
}

No comments: