Question

We are all familiar with the word count in the common app essay boxes, but have you ever wondered how they are able to work? Of course, those who submitted the solutions to the string problem from the question update on the site would have a fair idea of how to go about it. So if you haven't, I recommend you go through it so as to help you attempt today's own. I will keep it very simple.

Write a program that returns the word count of a paragraph or sentence as a string input to your program. You may use your own essays to check the validity of your code.

Question

A spelling alphabet is a set of words, each of which stands for one of the 26 letters in the alphabet. While many letters are easily misheard over a low-quality or noisy communication channel, the words used to represent the letters in a spelling alphabet are generally chosen so that each sounds distinct and is difficult to confuse with any other. The NATO phonetic alphabet is a widely used spelling alphabet. Each letter and its associated word are shown in the image below.

Write a program that reads a word from the user and then displays its phonetic spelling. For example, if the user enters Hello then the program should output Hotel Echo Lima Lima Oscar. Any non-letter characters entered by the user should be ignored.

Happy Holidays!!!!