Would appreciate any help on the attached code to get it to function properly. Think I am having a brain fart or the brain is completely fried at this point. Thanks!

The program is to take an input string and outputs the series of International Civil Aviation Organization Alphabet(ICAO) words that would be used to spell it out.

Example: Enter string: program
Phonetic version is: Papa Romeo Oscar Golf Romeo Alpha Mike

Would appreciate any help on the attached code to get it to function properly. Think I am having a brain fart or the brain is completely fried at this point. Thanks!

The program is to take an input string and outputs the series of International Civil Aviation Organization Alphabet(ICAO) words that would be used to spell it out.

Example: Enter string: program
Phonetic version is: Papa Romeo Oscar Golf Romeo Alpha Mike

Already found answer to problem