Computer Science, asked by samathkaviya1666, 3 months ago

write a program to display multiplication table for a given number?​

Answers

Answered by pammipathak28
5

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)

Answered by Anonymous
5

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

Follow please

Similar questions