Question: e-voting program code in c++ or java 1. The register voter methods should take as parameters a name, and assign a voter ID from a

e-voting program code in c++ or java

1. The register voter methods should take as parameters a name, and assign a voter ID from a list of

valid voter IDs.

2. The verify voter method takes a voter ID as input and verifies if the voter with the voter ID is registered

and under what name? However it should not allow the voter to vote if they have voted before.

3. The vote method should allow a voter to cast a single vote for a single candidate.

4. The tally results, should return the votes each of the candidates received to be displayed by the client.

5. Announce winner should just return the election winner's name.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!