Question: using dev C++ can anyone help me get started or with this assignment Write a program that will implement a computerized voting system that functions

using dev C++ can anyone help me get started or with this assignment

Write a program that will implement a computerized voting system that functions like the output sample on this page. In a loop which will go on forever unless the secret administrative code of '5' is entered, you must: Print the candidate menu. Wait for input. If the input is a valid choice, bump up the tally of the selected candidate, bump up the tally of the total votes cast, print "VOTED", and return to the menu. If someone types anything other than 1-5, print out: "***ERROR*** invalid entry", bump up no tally, and go back to the menu. When the administrative code of '5' is entered and you have exited the loop, print out the total number of votes cast and then show the number of votes for each candidate. For extra credit, after the final tally is printed, print out who the winner is. For extra credit take into account ties

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!