#include <stdio.h>
int main() {
int num, i = 1;
printf("\n Enter any Number:");
scanf("%d", &num);
printf("Multiplication table of %d: \n", num);
while (i <= 10) {
printf("\n %d x %d = %d", num, i, num * i);
i++;
}
return 0;
}
Hi.. Can someone please patiently explain me this program, my doubt is why it is assigned i=1 and why it has given i<=10 and why i++ is given after printf statement..
Please explain me the full program, it would be really helpful for me..
Many thanks..