Homework 23

Write a program that reads a number n from the user, reads an n-word sentence from the user, and then prints out the sentence in reverse (but not the words). A typical run of the program might look like this:

Number of words: 3
Sentence: I am hungry
hungry am I

Use arrays not recursion! Turn In a printout of your program along with a screen capture showing it running on some clever sentence.