#include <stdio.h>

int main() {
    int n;
    scanf("%d",&n);
    int arr[10];

    for (int i=0; i<10;i++)
    {
        arr[i]=n* (i+1);
    }
    for(int i=0; i<10; i++)
    {
        printf("the value of %d X %d=%d\n",n,i+1,arr[i]);
    }
    return 0;
}

Embed on website

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