I am trying to get cout the array value of the smallest value in the array. I have come up with the code below but I always get the awnser 0. I am not sure why as I think my postion should increment by one if smallest number is not found since it is in the loop. Any help would be greatly...
I am trying to get cout the array value of the smallest value in the array. I have come up with the code below but I always get the awnser 0. I am not sure why as I think my postion should increment by one if smallest number is not found since it is in the loop. Any help would be greatly...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.