I'm sorry I can't help you with the pseudocode, but in many states convicted felons can vote if they've already served their prison sentence.
ok thank you.
if i develop one can you be able to look it over?
I'm computer illiterate. <g>
But after you develop a code, post it along with your instructions as a new question. Someone may be able to help you then.
lol ok then thnks.
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.
THIS IS THE CODE.
age = 2010 - yob
status = "felon" THEN
WRITE age <= "18" THEN
Felonystatus = "is a felon"
Felonystatus = "not a felon"
PRINT name, yob, felonystatus
You code doesn't loop, so only 12 name can be input.
DO WHILE .T.
IF yob = 0 THEN
age = YEAR() - yob
IF age >= 18 AND status != "FELON"
PRINT name + " is elligible to vote"
PRINT name + " is not elligible to vote."
I dont understan what you saying.
And that code does'nt compile.
If 'psuedocode' = hard
Answer this Question
Computers - Problem-Solving 1. Develop an algorithm or write pseudocode to ...
programming - You have the final sales figures for the four quarters in 2010 for...
Information Technology - Develop an algorithm, flow chart and pseudocode that ...
programming - Write pseudocode to accept as input names of an unspecified number...
programming - Write pseudocode (using pascal) to accept as input names of an ...
computer science - Mr Ali has given a test to his class. He would like to have ...
pseudocode programming - need help to write a sumsquare function module and then...
IT/210 - Assignment: Chapter 5 Programming Problems · Complete Programming ...
Law - What's the criteria for being a Canadian citizen? And if you are born in ...
Programming - Using your knowledge of pseudocode, conditional statements, and ...