|
-
April 19th, 2010, 05:25 PM
#1
Array elements
Hello eveyone;
Please does any one know how to return the location of the maximum and minimum elements in an array from a function to the main. I mean the locations not the values. Like if the maximum and minimum are the third and fifth elements respectively in the array(of course entered by the user) it returns the both locations to the main.
Thank you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|