Monday, July 27, 2009

MinMax.cpp?

I am trying to create a program that finds the minimal and maximal value of a list of any given integer in c++ code. I am really having a lot of trouble with this, so could you answer in code. Thanks!

MinMax.cpp?
What trouble are you having with this? What do you have so far? What errors are you getting? I'm not going to post a complete coded solution for you.





You need to loop your list looking for the biggest number and saving the index of the biggest one. Try posting what you have so far and you'll get a much better reception.

stamen

No comments:

Post a Comment