Need ideas for this program:
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 pgoram should then output each candidate's name, the number of votes received, and the percentage of the total voates recieved by the candidate. The program should also output the winner of the election.
Ok So my thought is that I need 3 arrays: candidatenames[5]; votes received[5]; and percentOfTotalVotes[5]; but I'm not sure if that's right.
I haven't actually wrote code for it yet, just trying to get an idea of where to start. Please and thank you :)