Posted by **Janeille** on Saturday, February 13, 2010 at 5:11pm.

Problem-Solving

1. Develop an algorithm or write pseudocode to determine if a citizen is eligible to vote. The

criteria for eligibility are that the citizen must be 18 or older and must not be a convicted

felon. The algorithm must continuously accept as input only the names, year of birth and

felony status of a citizen. The algorithm should continue to accept this information until a

year of 0 (zero) is input.

Print the name of the citizen and a statement saying whether or not the citizen is eligible to

vote.

2. Design and execute a trace table that accepts citizen data and show the expected output.

The table should have at least ten citizens showing person meeting all possible outputs and

variations.

Program Implementation

3. Using the programming language Pascal, write program code to implement the algorithm

in (1) above.

## Answer This Question

## Related Questions

- pseudocode programming - Develop an algorithm or write pseudocode to determine ...
- computers:algorithm - Write a pseudocode to find the average of any amount of ...
- programming - Write pseudocode to accept as input names of an unspecified number...
- programming - Write pseudocode (using pascal) to accept as input names of an ...
- Information Technology - Develop an algorithm, flow chart and pseudocode that ...
- Law - What's the criteria for being a Canadian citizen? And if you are born in ...
- physics - n this problem, we will carry out some steps of the quantum factoring ...
- SOCIAL STUDIES (CHECK ANSWERS ASAP) - 1. What value in American identity is most...
- Quantum Physics - In this problem, we will carry out some steps of the quantum ...
- Information technology - . Develop an algorithm pseudo-code or flowchart that ...

More Related Questions