Finally got the blasted thing working. To read in the input, I had to do something similar to how I printed out the array into the file
I'm pretty rusty when it comes to dealing with arrays. Too much time spent (wasted?) on Swing in Java.Code:for (counter = 0; counter <= SIZE -1; counter++) { scanf("%d", &months[counter]); }