Please Help me with debugging "Arrays & Functions" in code...
I'm having trouble with setting up the Functions for my program. I have created the program without the use of Functions and it works perfect. However, when I added the functions it will either give me 3-4 errors and/or several warnings when compiling. Can someone tell me what I'm doing wrong with my "Functions" code, and what I need to do to fix it? Thanks!:)
Here is the code (Note: this code is supposed to use an input file that has a list of names & numberic grades in string format, I'm supposed to extract the data and sort the names and grades from highest grade to lowest as well as changing the numeric grades to alpha grades, i.e., A B C D F. Then I'm supposed to send the results to an output file.) :
Code:
Code was modified and updated below...
Sorry if I didn't use comments in the code, I figured it was simple enough to understand... If you need them, I will provide an update with comments.
Once again, Thank you for your help! :)