#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
0 Comments