ffm5113 / cpp_voting_ballot_array_functions

The Voting Ballot Array Functions Program (C++) creates 3 arrays to store candidates, votes, and percentages to simulate a random election winner. The arrays are filled after the program reads an input file titled "Candidates.txt". Functions are used to pass the arrays and calculate the results, which are printed to the console & an output file.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cpp_voting_ballot_array_functions

The Voting Ballot Array Functions Program (C++) creates 3 arrays to store candidates, votes, and percentages to simulate a random election winner. The arrays are filled after the program reads an input file titled "Candidates.txt". Functions are used to pass the arrays and calculate the results, which are printed to the console & an output file titled "ElectionResults.txt".

Link to .cpp file: Voting Ballot Array Functions C++ Program

Copyright (c) 2022 ffm5113

About

The Voting Ballot Array Functions Program (C++) creates 3 arrays to store candidates, votes, and percentages to simulate a random election winner. The arrays are filled after the program reads an input file titled "Candidates.txt". Functions are used to pass the arrays and calculate the results, which are printed to the console & an output file.

License:MIT License


Languages

Language:C++ 100.0%