Check Voting Eligibility - C Exercise