Friday
May 24, 2013

Homework Help: Computers

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.

No one has answered this question yet.

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

pseudocode programming - Develop an algorithm or write pseudocode to determine ...
6th grademath - this is a word problem:the country of hoffnemath is holding its ...
computers:algorithm - Write a pseudocode to find the average of any amount of ...
Information Technology - Develop an algorithm, flow chart and pseudocode that ...
computers - Develop an algorithm or write a pseudo-code that accepts as input ...
computers - Write an algorithm, in English, to solve the following problem. Be ...
programming - Write pseudocode to accept as input names of an unspecified number...
programming - Write pseudocode (using pascal) to accept as input names of an ...
algorithm&pseudocode - write an algorithm for each of these two problems in ...
Law - What's the criteria for being a Canadian citizen? And if you are born ...

For Further Reading

Search
Members
Community