6) write a program to print tableof a given number.
Answers
Answered by
1
#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);
}
}
Attachments:
Similar questions
Social Sciences,
1 day ago
Computer Science,
1 day ago
Math,
1 day ago
Math,
2 days ago
Math,
8 months ago
Biology,
8 months ago