Please note that some of this code does not work properly.
// late.cpp // don't really care // Written By Billy Gesner // Written for c++ // Due Date: today #include < iostream.h > #include < conio.h > int main() { double a[10],b[10],c[10],temp,sum=0; int choice=1,count=0,x; while(choice==1) { count=0; while(count<=9) //enters numbers { cout<<"Enter number "<
>a[count]; sum=sum+a[count]; count++; } getch(); count=0; while(count<=9) //makes 2 more arrays for ordering { b[count]=a[count]; c[count]=a[count]; count++; } count=0; while(count<=9) //arranges b in increasing order { if (b[count]
c[count+1]) { temp=c[count]; c[count]=c[count+1]; c[count+1]=temp; count=-1; } count++; } cout<<"normal decreasing "; cout<<"increasing average="<
>choice; } cout<<"Thanks for using my program"<