I need to write this program in C# (I use Visual Studio, and itcan just be a console app):
Create an application that accepts a sentence as input andconverts each word to “Pig Latin.” To convert a word to Pig Latinyou remove the first letter and place that letter at the end of theword. Then you append the string “ay” to the word. Here is anexample:
English: I SLEPT MOST OF THE NIGHT
Pig Latin: IAY LEPTSAY OSTMAY FOAY HETAY IGHTNAY
but i need to add a few parameters:
** Your program should also display the number of words in theoriginal sentence **
** Your program should count and display the number of vowels(a,e,i,o,u) in the original sentence **
** If your original sentence has any numeric digits, replace thenumber with an asterisk (*).
and I want to make it so each parameter is in it’s ownmethod.
Thank you!!!!
Expert Answer
Answer to I need to write this program in C# (I use Visual Studio, and it can just be a console app): Create an application that a…