C Program To Print Multiplication Table Of Any Numbers Up To Any Terms 


#include<stdio.h>
int main()
{int n1,n2,i;
printf("Enter the number:");
scanf("%d",&n1);
printf("Enter the term up to which you want to multiply:");
scanf("%d",&n2);
for(i=1;i<=n2;i++)
{printf("%d X %d = %d\n",n1,i,n1*i);
}
return 0;
}

OUTPUT
C Program to print Multiplication table of any numbers up to any terms
Share To:

Arogya Thapa Magar

Post A Comment:

0 comments so far,add yours