Hello all, I just joined up :). I am new to C++ and need some assistance.
I am attempting to create a program that reads from a file that looks like this:
The output(to another file) has to be the individual's 5 sales figures, their name, the average of their 5 figures, and an F-A grade based on their sales.
Rules:
1.) reading from file and averages must be done in a void function.
2.) grading has to be done in a returning function.
3.) all outputs MUST be done in main.
4.) No global variables. No arrays.
5.) The finished output should be a simple grid with headings. 8 columns and 11 rows (counting the row of headings).
Haha I have been at this for a few days now and trying all different things and now i am starting from scratch. I do not want it to be done for me. Just some help with the logic and syntax of making the three functions communicate correctly with one another. And creating an adequate loop system to read the data. Much thanks in advance! :)