This is a C Program to Find & Display Multiplication table.

This program finds & displays the multiplication table of a particular number.

1. Take a number as input.

2. Using while loop print the number and its product with numbers 1-10 as output.

Here is source code of the C Program to Find & Display Multiplication table. The C program is successfully compiled and run on a Linux system. The program output is also shown below.

`/*`

`* C Program to Find & Display Multiplication table`

`*/`

`#include <stdio.h>`

int main()

`{`

int number, i = 1;

printf(" Enter the Number:");

scanf("%d", &number);

printf("Multiplication table of %d:\n ", number);

printf("--------------------------\n");

while (i <= 10)

`{`

printf(" %d x %d = %d \n ", number, i, number * i);

`i++;`

`}`

return 0;

`}`

1. Take a number as input and store it in the variable number.

2. Using while loop starting from 1 to 10, print the variable number, i and (number * i) as output and exit.

Output: Enter the Number:6 Multiplication table of 6: -------------------------- 6 x 1 = 6 6 x 2 = 12 6 x 3 = 18 6 x 4 = 24 6 x 5 = 30 6 x 6 = 36 6 x 7 = 42 6 x 8 = 48 6 x 9 = 54 6 x 10 = 60

**Sanfoundry Global Education & Learning Series – 1000 C Programs.**

Here’s the list of Best Reference Books in C Programming, Data-Structures and Algorithms