Write a program for multiplication table of entered number ?
Answers
Answered by
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
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
Computer Science,
3 months ago
Math,
3 months ago
Math,
6 months ago
English,
6 months ago
Social Sciences,
1 year ago
Math,
1 year ago