Hey group, I have this new problem I am attempting to solve. I need to develop a program which computerrizes a voting process in an election.
There are 4 regions where the votes are coming from. My output needs to give firstName, lastName, regionNumber, numberOfVotes.
And then produce as output: Winner: Votes Received: & total votes polled:
Also all of my names need to be in alphabetical order in the output
There are six total canadates running for election.
I have two input data files. One is the voteData.txt which consists of each candidates's name, region number and the numberts of votes received. one entry per line
The other data file is candData.txt and it consists of names of candidates seeking president's post, in no particular order.
We have not yet learned very in depth tactics. What would be the best approach to input the information, tabulate results, and then output in alphabetical order all info as well as results (ie winner)?
Just help me get in the right direction, good tactics and organization techniques if you can guys. Thanks
I will update you as I go or any problems I encounter, thanks again!!