Write a C program to display the multiplication table of series of given numbers entered by the user.
Write C Program and display the multiplication table of series of given numbers entered by the user.
C Program to find the multiplication table series of entered number.
Source Code
#include <stdio.h>
#include <conio.h>
void main()
{
int n,i,j,num[100];
clrscr();
printf("Enter how many numbers of multiplication table to display:");
scanf("%d",&n);
for(i=0;i<n;i++)
{
printf("Enter the numbers:");
scanf("%d",&num[i]);
}
for(i=0;i<n;i++)
{
for(j=1;j<=10;j++)
{
printf("n%d*%d=%d",num[i],j,num[i]*j);
}
}
getch();
}