Write, compile, and run a C++ program that meets the following requirements:

  • Ask the user for a name or word.
  • Then converts the name or word to the International Civil Aviation Organization Alphabet (ICAO).
  • Must use your own algorithm.
  • Must use modularity.
  • Must use proper documentation.
  • Must use only techniques and libraries used in this course and book.
  • The program must have an interactive menu, meaning the program must keep asking the user for a name or word until user exits program.
  • The program should exit when the user selects the exit choice.
  • The program must save the data to an output text file in appending mode. Call the file ICAO.txt.
  • Can not use arrays.
  • The output must be clearly labeled and neatly formatted.
  • The program must work as shown on the demo.

The program must for ask follows:

For example:

If the user enters the string program: program

The screen output must be:

The word "program" in the ICAO alphabet is:
p: Papa
r: Romeo
o: Oscar
g: Golf
r: Romeo
a: Alpha
m: Mike

Below is the International Civil Aviation Organization Alphabet (ICAO):

A Alpha
B Bravo
C Charlie
D Delta
E Echo
F Foxtrot
G Golf
H Hotel
I India
J Juliet
K Kilo
L Lima
M Mike
N November
O Oscar
P Papa
Q Quebec
R Romeo
S Sierra
T Tango
U Uniform
V Victor
W Whiskey
X X-ray
Y Yankee
Z Zulu
Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.