Rewrite the function body of this function so that instead of using iterating through the elements of the parallel arrays

Rewrite the function body of this function so that instead of using iterating through the elements of the parallel arrays

LANGUAGE: C++

CHALLENGE:

consider the testPIN function used in Program 7-21. For convenience, we have reproduced the code for you below.

Rewrite the function body of this function so that instead of using iterating through the elements of the parallel arrays, it returns true or false by calling countMatches the function defined in the previous exercise (10988), and checking its return value.

This content requires that you purchase additional access. The price is $2.99 or free for our Make Life Easier and 30 Days – Not Recurring members.

Purchase this Content ($2.99) Choose a Membership Level