diff options
-rw-r--r-- | ee1301/wk4/hw4_directory/strap012_HW4C.cpp | 6 | ||||
-rw-r--r-- | output_files/election_results.txt | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/ee1301/wk4/hw4_directory/strap012_HW4C.cpp b/ee1301/wk4/hw4_directory/strap012_HW4C.cpp index 2041150..17ef381 100644 --- a/ee1301/wk4/hw4_directory/strap012_HW4C.cpp +++ b/ee1301/wk4/hw4_directory/strap012_HW4C.cpp @@ -63,9 +63,9 @@ int main() return -2; } fout << "A," << A << std::endl - << "E," << std::endl - << "I," << std::endl - << "O," << std::endl + << "E," << E << std::endl + << "I," << I << std::endl + << "O," << O << std::endl << "U," << U; fout.close(); }
\ No newline at end of file diff --git a/output_files/election_results.txt b/output_files/election_results.txt index 33b070e..418db83 100644 --- a/output_files/election_results.txt +++ b/output_files/election_results.txt @@ -1,5 +1,5 @@ A,227 -E, -I, -O, +E,315 +I,330 +O,129 U,268
\ No newline at end of file |