WAP To enter any 10 number and display it
Defination :: WAP To enter any 10 number and display it
Source Code ::
void main()
{
int n[10],i;
clrscr();
printf("enter any number:");
for(i=0;i<=10;i++)
{
scanf("%d",&n[i]);
}
for(i=0;i<=10;i++)
{
printf("\n%d",n[i]);
}
getch();
}
Source Code ::
void main()
{
int n[10],i;
clrscr();
printf("enter any number:");
for(i=0;i<=10;i++)
{
scanf("%d",&n[i]);
}
for(i=0;i<=10;i++)
{
printf("\n%d",n[i]);
}
getch();
}
WAP To enter any 10 number and display it
Reviewed by Unknown
on
21:37
Rating:
No comments: