Signup/Sign In

Program to print the Multiplication Table of any Number

Below is a program to print the multiplication table of any user input number.


int main()
    printf("\n\n\t\tStudytonight - Best place to learn\n\n\n");
    int n,i;

    printf("Enter an integer you need to print the table of: ");
    scanf("%d", &n);

    for(i = 1; i <= 10; i++)
        printf("\n\t\t\t%d * %d   =   %d \n", n, i, n*i);

    printf("\n\n\n\n\t\t\tCoding is Fun !\n\n\n");
    return 0;


Program to print Multiplication Table of any Number in C