Apparently I misunderstood the assignment. The original code worked but not the way the assignment wanted.
I have to make an array and fill it with months ie "January", "Febuary", etc. and use the numeric representation of the month as the index. Then I need to convert the numerical string to a int (probably using atoi).
Then read in the data in main in the form of mm/dd/YYYY and pass it to a function that determines the month and returns a
new string with the month as a word…..
Not sure exactly how to due this.