Académique Documents
Professionnel Documents
Culture Documents
from time to time while there are still voters to cast a vote.
Suppose the current number of voters is 11 with the following distribution,
#1 Joselito W. Mariano got 3 votes
#2 Consuelo L. Ramonal got 1 vote
#3 Myrna C. Luzado got 6 votes
#4 Gilbert O. Yroila got 1 vote
#5 Constancia R. Ramos got 0 vote
This is the sample dialog of the Electronic Presidential Election Voting Program:
[ 1 ] VOTE
[ 2 ] UNOFFICIAL RESULT
[ 3 ] CLOSE ELECTION
Select an option: 1
OFFICIAL PRESIDENTIAL CANDIDATES
-------------------------------------------------(1) Joselito W. Mariano
(2)Consuelo L. Ramonal
(3) Myrna C. Luzado
(4)Gilbert O. Yroila
(5) Constancia R. Ramos
Select a candidate: 3
You voted Myrna C. Luzado
Thank you for voting!
[ 1 ] VOTE
[ 2 ] UNOFFICIAL RESULT
[ 3 ] CLOSE ELECTION
Select an option: 2
UNOFFICIAL PRESIDENTIAL ELECTION RESULT
------------------------------------------------------------#3 Myrna C. Luzado 58.33%
#1 Joselito W. Mariano 25%
#2 Consuelo L. Ramonal 8.33%
#4 Gilbert O. Yroila 8.33%
#5 Constancia R. Ramos 0%
[ 1 ] VOTE
[ 2 ] UNOFFICIAL RESULT
[ 3 ] CLOSE ELECTION
Select an option: 3
The election is officially closed!