//write a program in c to print tables
#include <stdio.h>
int printTable(int n);
int main(){
    int n;
    printf("Enter number : ");
    scanf("%d",&n);
    printTable(n);
    return 0;
}
int printTable(int n){
    for(int i = 1;i<=10;i++){
        printf("%d ",i*n);
    }
}

Embed on website

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