08/02/2023

Write a C Program to Print Multiplication Table of N | 1 to 10

Write a C Program to Print the Multiplication Table of N. C Program to Print Multiplication Tables from 1 to 10. Multiplication Table in C or Print Table in C. Take input from the user then use any loop and start with condition =1; condition <=10; and increase by one each time, and multiply input with condition and print.

Try Yourself C++ Program To Print Table Of Any Given Number

C Program to Print Multiplication Table of N


#include<stdio.h>

int main() {
    /*Write a C Program to Print Multiplication Table of N*/
    int i, a, n;
    printf("Enter The Number That You Want To Print Table \n");
    scanf("%d", & n);

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

    return 0;
}

C Program to Print Multiplication Table Output

Previous Post
Next Post

post written by:

Hi, I’m Ghanendra Yadav, SEO Expert, Professional Blogger, Programmer, and UI Developer. Get a Solution of More Than 500+ Programming Problems, and Practice All Programs in C, C++, and Java Languages. Get a Competitive Website Solution also Ie. Hackerrank Solutions and Geeksforgeeks Solutions. If You Are Interested to Learn a C Programming Language and You Don't Have Experience in Any Programming, You Should Start with a C Programming Language, Read: List of Format Specifiers in C.
Follow Me

0 Comments: