for(count = 0; count < size; count ++) { if(typeList[count] == sportChoice) { printOneReservation(typeList, ageList, count); totalReservationsOfType ++; } }