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();
}
#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();
}
About Govind Prasad Joshi
Copyright (c) 2022 neb-see-solution.com All Right Reseved
No comments:
Post a Comment