Okay so the assignment is to turn my original grading program into one that has a menu and is modularized using functions.
Original program:
https://gist.github.com/Newtochr/4035e30bbe9c352384f323fe70cf6746
Why not have a bunch of numbered variables? Unsure, I am just a noob and this is the way I was able to accomplish the task. Why convert them? It was part of the assignment to receive the data as strings and then convert to double or int using atof or atoi. As far as I know the "XXXX" is just a placeholder and I was trying to emulate the way my professor made his own example program which used those as well. Lastly, I am only now learning arrays.
Thanks for the feedback on the code I appreciate it although I was mainly trying to get help on what a accurate hierarchy chart would look like that represents my program.
Edit: What I mean was vague was his teaching on how to compose a hierarchy chart, the assignment was said already, it's making a heiarchy chart of my program. The program didn't have any specific instructions besides use a transition function, an error trap and link my previous input and output screens to the main menu.
Here is the chart instructions:
"To show relationships between various modules in a program often a "Hierarchy chart" is used. Each module is represented by a rectangle with connecting lines showing general sequence of operation. Typically execution trends are from top to bottom and from left to right."