Take the code in post#1 and change it to save the index into the array where the value that is stored into the max value came from. Every time max is changed, save the index. At the end of the...
Type: Posts; User: Norm
Take the code in post#1 and change it to save the index into the array where the value that is stored into the max value came from. Every time max is changed, save the index. At the end of the...
What is the purpose of that comparison?
Did the code in post#1 work? Did it find the max value in one array?
Can it save the index to that max value so it can use that index in the second array?
Please copy the full text of the error message and paste it here. Also post the code that gives the error.
When the code finds a value it wants to save in one array, it needs to save the array's...
Please edit your post and wrap your code with code tags:
YOUR CODE HERE
to get highlighting and preserve formatting.
If you are using parallel arrays, when you find the index in one array...