Hi, I need help on finding an error in one of my homework problems. I was supposed to create a code using only while loops to create a C++ program to sort a group of numbers so that they are increasing in value. In my code so far, they decrease and I can't seem to figure out why. If someone could point out my error that would help me out a lot. Thanks
Thanks! that cleared up one of the issues that I was having with it not returning the right number, but for me it is still in decreasing order not increasing.