#include <stdio.h>

int gugudan(int a,int b){
    int start = a>b ? b : a;
    int end = a > b ? a : b;
    for (int i=start; i<=end; i++) {
        for (int j=1; j<10; j++) {
            printf("%d * %d = %d\n",i,j,i*j);
        }
    }
    return 0;
}

int main() {
    int a,b;
    scanf("%d %d", &a, &b);
    gugudan(a,b);
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: