Aviation Alphabet

Write a program that prompts the user for a word, and displays the word in the Aviation Alphabet:

A = alpha H = hotel O = oscar V = victor
B = bravo I = india P = papa W = whiskey
C = charlie J = juliet Q = quebec X = x-ray
D = delta K = kilo R = romeo Y = yankee
E = echo L= lima S = sierra Z = zulu
F = foxtrot M = mike T = tango
G = golf N = november U = uniform

For example, the string: “Program” should be displayed as:
papa romeo oscar golf romeo alpha mike.

Your program should include a function that uses a switch to display the Aviation Alphabet equivalent of each character (whether upper OR lower case).

New Download