CODING:
#include<stdio.h>
#include<conio.h>
void main( )
{
int num,n,i,mul;
clrscr( );
printf("Table of "); /*table of which number*/
scanf("%d",&num);
printf("Upto "); /*table upto which number*/
scanf("%d",&n);
for(i=1;i<=n;i++)
{
mul=num*i;
printf("\n%d * %3d = %d",num,i,mul);
}
getch( );
}
#include<stdio.h>
#include<conio.h>
void main( )
{
int num,n,i,mul;
clrscr( );
printf("Table of "); /*table of which number*/
scanf("%d",&num);
printf("Upto "); /*table upto which number*/
scanf("%d",&n);
for(i=1;i<=n;i++)
{
mul=num*i;
printf("\n%d * %3d = %d",num,i,mul);
}
getch( );
}
CODING |
OUTPUT |
For any query or suggestion please comment below....
No comments:
Post a Comment