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

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

Comments

Popular posts from this blog

C Program for SCAN Disk Scheduling Algorithm | C Programming

C program to Find Cartesian Product of Two Sets | C programming

C Program To Check The String Is Valid Identifier Or Not | C Programming