Let's say we have something like char year [50][5] and char event [50][15] . How would I search the year array for a particular input from the user so that it would display the year and the event for what the user entered. Or display a no-match found error, if there is no record found.