#include <stdio.h>
int main() {
int num, i = 1;
printf("Enter a number to print its multiplication table: ");
scanf("%d", &num);
printf("Multiplication table for %d:\n", num);
while (i <= 10) {
printf("%d x %d = %d\n", num, i, num * i);
i++;
}
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: