IDNLearn.com provides a comprehensive platform for finding accurate answers. Discover the reliable solutions you need with help from our comprehensive and accurate Q&A platform.

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 (candidate), the number of votes received (votes received), and the percentage of the total votes received by the candidate (% of total votes). your program should also output the winner of the election.