#include<stdio.h>
#include<conio.h>
void main()
{
void table();
clrscr();
table();
getch();
}
void table()
{
int n,i,r;
printf("enter a no to know table: ");
scanf("%d",&n);
for(i=1;i<=10;i++)
{
r=n*i;
printf("%d*%d=%d\n",n,i,r);
}
}
#include<conio.h>
void main()
{
void table();
clrscr();
table();
getch();
}
void table()
{
int n,i,r;
printf("enter a no to know table: ");
scanf("%d",&n);
for(i=1;i<=10;i++)
{
r=n*i;
printf("%d*%d=%d\n",n,i,r);
}
}
Bhai apne program ki 14th line delete kar do fir yeh program sahi ho jayega
ReplyDelete