Computer Science, asked by tanwardhaniram8, 2 days ago

6) write a program to print tableof a given number.​

Answers

Answered by hadiya6431
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