International Civil Aviation Organization Alphabet

Homework 3
Write a program that takes a letter as input and outputs the corresponding word in the International Civil Aviation Organization Alphabet. Extend the program so that it inputs a string and outputs the series of ICAO words that would be used to spell it out. For example:
Enter string: program Phonetic version is: Papa Romeo Oscar Golf Romeo Alpha Mike
Write the program so that it determines the word corresponding to a specified letter using a Switch statement instead of an If structure.
Powered by