write a c program to print multiplication table of a given number using while loop
Answers
Answered by
5
U can also consider a variable for number*i
Explanation:
#include<stdio.h>
void main()
{
int i=1, number;
printf ("Enter a number:");
scanf("%d",& number);
while (i<=12)
{
printf ("\n%d*%d=%d",number,i,number*i);
i++;
}
}
Similar questions