#include <stdio.h>


void printtable(int n);

int main() {
    int n;
    printf("enter the number\n");
    scanf("%d",&n);
    
    printtable(n);   //arguement / actual parameter
    return 0;
}

void printtable (int n) {    //parameter / formal parameter
for(int i=1;i<=10;i++) {
    printf("%d\n",i*n);
}
}

Embed on website

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