Wednesday, January 30, 2013

MULTIPLICATION TABLE

#include<stdio.h>
main()
{
    int r,i,j;
    printf("\nEnter the number:");
    scanf("%d",&r);
    for (i=1;i<r;i++)
        for(j=1;j<=12;j++)
    printf("\n%d*%d=%d",i,j,i*j);
    printf("\n");

}

No comments:

Post a Comment