[SOLVED] please help, this assignment is called resreveR
Write a program (from scratch, if you can -- good practice for a test) named ResreveR. This program asks the User to type in a sentence (words separated by spaces and ending with a period). The sentence cannot be longer than 20 words.
The program stores the words of the sentence in an array of Strings (a String[ ] ) in correct order (first word is in array element 0). Then the program prints out the words of the sentence backwards. That is, the last word of the sentence is followed by the next-to-last, etc. The letters in the words do not need to be reversed; just reverse the order of the words.