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.

SOLUTION:

The Bad News: The content you are trying to access is only available to members.

The Good News: You too can be a member, simply Click Here.

Already a member?

Posted in ,