/*A program to find multiplication table*/
#include <stdio.h>
int main()
{
int num, result,i;
printf("Enter the number of which you want to get a multiplication table:");
scanf("%d",&num);
for(i=1;i<=10;i++)
{
result=num*i;
printf("%d*%d=%d",num,i,result);
}
}
Output:

appreciated sir 👏 even your class is so good sir .
ReplyDelete