I have a homework assignment where I need to take input from a file and continuously remove the first word in a line and append it to the end of the line until all combinations have been done.
I really don't know where to begin and would be thankful for any sort of direction.
The part that has me confused is that this is suppose to be performed without the use of arrays. I'm not just fishing for someone to solve the problem for me, I'm just looking for some direction.
SAMPlE INPUT:
Pipes and Filters
Java Swing
Software Requirements Analysis
SAMPLE OUTPUT:
Analysis Software Requirements
Filters Pipes and
Java Swing
Pipes and Filters
Requirements Analysis Software
Software Requirements Analysis
Swing Java