write a C++ 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. The program should also output the winner of the election.
Using 3 functiions and some arrays
Can you help me with this C++ Program?
Hey, it's time to do your homework yourself.
There are numerous programmers here for whome this program is just 3-4 min. task (Including me).
But.......don't fool your teacher.....
Reply:Home work a little over your head? I could easily write this up in about 3 of 4 minutes but i doubt it would all fit here.
Try http://www.planet-source-code.com/ for some examples. they have 2 that i see that would do what you are asking just from a quick look. well.. you would have to check out each example since neither is an exact match. I suggest you just look for personal interest and not copy the code verbatim.
Reply:Right on Ashish Sharma.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment