Voting Machine The members of a club bring a computer to their annual meeting to use in the election of a new president. Write a program to handle the election. See Fig. 9.68. When the program is first run, the label at the top of the page should read as follows: Click “Nominate Candidate” to enter a candidate, or “Start Voting” to end nominations and start the voting. The program should add each candidate to a list box as he or she is nominated. After the nomination process is complete, club members should be able to approach the computer one at a time and double-click on the candidate of their choice. When the Tally Votes button is clicked on, a second list box, showing the number of votes received by each candidate, should appear along side the first list box. Also, the name(s) of the candidate(s) with the highest number of votes should be displayed in a message box. Voting vote for a candidate by double-clicking on hisher name. End the voting by clicking on Tally Votes’. Mike Smith 3 votes David Williams 4 votes John Miller 1 vote 6 votes Maria Garcia Start Nominate Tally Voting Votes Candidate FIGURE 9.68 Possible outcome of Programming Project 2.
Book: An Introduction to Programming Using Visual Basic 2012(9th Edition)
Question: Chapter 9, Problem 2PP
Don't use plagiarized sources. Get Your Custom Essay on
Question & Answer: Voting Machine The members of a club bring a computer to their annual meeting to use in the election of a new president…..
GET AN ESSAY WRITTEN FOR YOU FROM AS LOW AS $13/PAGE
The solution to this question is missing from the solution manual, can I get an explanation on how this program is written?