C Programming
#include
#include
void main()
{
int i,j,b,a[5],c=0;
clrscr();
printf("\nThe wellordered numbers are :\n\n ");
for(i=100;i<1000;i++) b="i;j=" b="b/10;">a[1]&&a[1]>a[2])
{
c=c+1;
printf("%d",i);
printf(" ");
if(c==8||c==16||c==24||c==32||c==40||c==48||c==56||c==64||c==72||c==80)
printf("\n\n");
}
}
printf("\nThe Total number is =%d",c);
getch();
}
0 comments:
Post a Comment