Pig Latin is an old English game, where you alter a word basedon two simple rules. 1) If the first l

Pig Latin is an old English game, where you alter a word basedon two simple rules. 1) If the first letter is a consonant, move itto the end and add “ay” to the end. 2) If the first letter is avowel, i.e. ‘a’, ‘e’, ‘i’, ‘o’, or ‘u’, add “way” to theend.  kingdom would be ingdomjay elephant would beelephantway Write a program to statically allocate memory for a c‐stylestring on the stack for up to 256 characters: ‐ Please allow the user to enter a word. ‐ Write a function, void funct(char *a), to: ‐ Print the word in Pig Latin. ‐ Precondition: You can assume the word is all lowercase. ‐ Postcondition: The original array should not be altered. . . .

 

"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"