Computer Science, asked by sarojinioraon02, 6 months ago

Write a program for multiplication table of entered number ?​

Answers

Answered by jayaprakashvirat
3

Pictorial Presentation:

Sample Solution:

C Code: #include <stdio.h> void main() { int j,n; printf("Input the number (Table to be calculated) : "); scanf("%d",&n); printf("\n"); for(j=1;j<=10;j++) { printf("%d X %d = %d \n",n,j,n*j); } }

Answered by nkmahajapura
1

Answer:

Write a program in C to display the multiplication table of a given integer.

Pictorial Presentation:

Sample Solution:

C Code: #include <stdio.h> void main() { int j,n; printf("Input the number (Table to be calculated) : "); scanf("%d",&n); printf("\n"); for(j=1;j<=10;j++) { printf("%d X %d = %d \n",n,j,n*j); } }

Similar questions