First, if this is in the wrong spot, I'm sorry, I didn't see any other option where to put this.

School Project is to print out all the substrings of an user inputted word going from the longest...