My friend has challenged me to create a simple c++ program. I have had the last 3 weeks to work on it, half way through I have realised I am doing it wrong. The program is: Entering 10 random numbers into an array( the easy part ), then printing the array in ascending order WITHOUT sorting the array. I am absolutely lost on how to do this. Can anyone give me some help with this, maybe posting some code up and I can look at it then type my own out so I am learning in the process. I really want to prove my friend wrong :lol: Any comments would be much appreciated!
P.s I have only been doing c++ for the last 6 weeks and I love it so far, so please excuse me for sounding silly :)