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