In Ch6, we discussed the predefined Index Of() method of array. We know the method takes two
Fantastic news! We've Found the answer you've been seeking!
Question:
In Ch6, we discussed the predefined Index Of() method of array. We know the method takes two parameters, the whole array and an element to search. The method returns the index of the element if found, and -1 if not found. Now, you need to write a method of your own, Find Match(), that does exactly the same thing:
1) takes two parameters, the whole array and an element to search
2) returns the index of element if found, and -1 if not found.
3) display the result back from the Main()
Related Book For
Intermediate Accounting
ISBN: 978-0324592375
17th Edition
Authors: James D. Stice, Earl K. Stice, Fred Skousen
Posted Date: