Computer Science, asked by nishahotwani, 3 months ago

write a program to print table of any number​

Answers

Answered by lalitdrall1987
1

The program output is also shown below.

* C Program to Find & Display Multiplication table.

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);

Explanation:

if you think that this is the correct answer so please mark the answer brainlist answer please

Answered by anitabasra201088
0

Answer:

The program output is also shown below.

•* C Program to Find & Display Multiplication table.

•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);

Similar questions