Write the program to display the table of a number entered by the user.
Answers
Answered by
1
Answer:
Write a program in C to display the multiplication table of a given integer.
1.Pictorial Presentation:
2.Sample Solution:
3.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);
Please mark my Answer as brainlest.
Similar questions