Computer for SEE and NEB

It is a complete SEE and NEB solution for computer science. It includes Computer Fundamentals, Database (SQL), Programming in C QBASIC, CSS, JavaScript, and PHP for beginners.

Breaking

Post Top Ad

Your Ad Spot

Thursday, August 11, 2022

Print the multiplication table of input number in C

 Print the multiplication table of input number in C


#include <stdio.h>

#include<conio.h>

main()

{

int i,n1,m;

printf("Enter which no table\n");

scanf("%d",&n1);

for (i=1;i<=10;i++)

printf("\n%dX%d=%d",n1,i,n1*i);

getch();

}

No comments:

Post a Comment

Post Top Ad

Your Ad Spot

Pages