write a program in C that accepts an integer from the user and displays its multiplication table
Answers
Answered by
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);
Explanation:
Similar questions