I am trying to read in the Constitution as a text file from the command line into my program to print out the lines in reverse order. My for loop looks like this:
Make int i equal the number of lines in the Constitution instead of 0 that should do it.
When you reverse a loop's iteration direction, you also have to reverse the beginning and ending values.
for(int i = arrayCount-1; i >= 0; i--)
Now, this loop starts at the end, then works back down to the beginning of the array.