Please note that some of this code does not work properly.
// everybodylovesarraymans.cpp // enter numbers and stuff // Written By Billy Gesner // Written for c++ // Due Date: tommarow #include < iostream.h > #include < conio.h > int main() { double a[8],b[8],c[8],d[8],temp; int choice=1,count=0,x; while(choice==1) { count=0; while(count<=7) //enters numbers { cout<<"Enter number "<
>a[count]; cout<<"Enter number "<
>b[count]; count++; } getch(); count=0; while(count<=7) //puts larger in array c+d { if(a[count]>=b[count]) { c[count]=a[count]; d[count]=a[count]; } else { c[count]=b[count]; d[count]=b[count]; } count++; } x=0; while(x<=7) //arranges d in increasing order { if (d[x]
>choice; } cout<<"Thanks for using my program"<