Hi everybody,
I have just started working with C++ and I find it intersting and facinating!! However, I am struggling a bit with a problem. I want to find out if the elements in an integer array are increasing or not. I have used a nested loop, but I think the problem is that it compares only one and one element with each other. If my array consist of the numbers { 1, 3, 4 }, it is indeed increasing, but the same thing is true for the array { 1, 3, 2 }.
I attach the loop part of the program. Will appreciate any possible help on this!
Thanks
Gro