Welcome to Westonci.ca, the place where your questions are answered by a community of knowledgeable contributors. Discover a wealth of knowledge from experts across different disciplines on our comprehensive Q&A platform. Our platform provides a seamless experience for finding reliable answers from a network of experienced professionals.

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.