Pig Latin Strings
Task: Input various sentences asC-strings and perform 2 conversions on each sentence usingC-string commands.
1. Reverse the order of the words, andprint all letters in upper case; there will be nopunctuation in this version.
2. Change the original line to piglatin; print this version all in lower case except startthe pig latin sentence with a capital letter. The only punctuationwill be a period at the end.
The entire program will be written using only C-strings. Do notuse string class objects for any part of it. As you process theconversions, assemble the results into complete strings, andprint out
OR
OR