int countMatches(int custPIN[], int databasePIN[], int size) { int matches = 0; for (int index = 0; index < size; index++) { if (custPIN[index] == databasePIN[index]) matches++; } return matches;}