Question: Make sure the code is working please. . Write a program that allows the user to enter the last names of five candidates in a
. Write a program that allows the user to enter the last names of five candidates in a local election and the number of votes received by each candidate. The program should then output each candidate's name, the number of votes received, and the percentage of the total votes received by the candidate. Your program should also output the win- ner of the election. A sample output is: Votes Received of Total Votes 5.91 20-73 2.03 2-95 Miller 6000 Duffy Aahtony The Winner of the Election is Dutty
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
