49. C Program To Display Multiplication Table for the given Number.
How does this program work?
- Program helps to display Multiplication table uisng C-Language.
Here is the code
#include <stdio.h>
int main()
{
int n, i,t ;
printf("Enter Table Number: \n");
scanf("%d",&t);
printf("Enter Ending of table :\n " );
scanf("%d",&n);
for(i=1; i<=n; ++i)
{
printf("%d * %d = %d \n", t, i, t*i );
}
return 0;
}