-Here we find the mathematical table of the given integer number.
program-
#include< stdio.h>
#include< string.h>
int main()
{
int num,i;
printf("Enter number\n");
scanf("%d",&num);
//table
printf("Table of %d is\n",num);
for(i=1;i< =10;i++)
{
printf("%d * %d = %d\n",num,i,num*i);
}
}
Enter number
3
Table of 3 is
3 * 1 = 3
3 * 2 = 6
3 * 3 = 9
3 * 4 = 12
3 * 5 = 15
3 * 6 = 18
3 * 7 = 21
3 * 8 = 24
3 * 9 = 27
3 * 10 = 30