Discover a world of knowledge at Westonci.ca, where experts and enthusiasts come together to answer your questions. Join our Q&A platform to connect with experts dedicated to providing accurate answers to your questions in various fields. 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.