The Electoral Commission wants a computer program that can determine the eligibility of voters. The eligibility criteria are based on the age and the nationality of the voter. The commission wants to know whether an applicant is too young to vote, a foreigner and so cannot vote or eligible to vote. Write an algorithm and draw a corresponding flowchart to meet the commission's expectation.
Comments
Leave a comment