write a program in c to printf the multiplication table of the number enter by the user.

#include<stdio.h>
#include<conio.h>
main()
{
   int i,num,mult;
   clrscr();
   printf("\n enter the num");
   scanf("\n%d",&num);
   for(i=1;i<=num;i++)
{
   mult=num*i;
   printf("\n  num=%d of mult=%d",num,mult);
}
   return (0);
}


output:-

enter the num=5

num=1 of mult=5
num=2 of mult=10
num=3 of mult=15
num=4 of mult=20
num=5 of mult=25