Write a program that inputs a string and output a series of ICAO words that  would be used to spell it out. For example: Enter string: Program Test Phonetic version is: Papa Romeo Oscar Golf Romeo Alpha Mike Tango  Echo Sierra Tango.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter6: Modularity Using Functions
Section6.1: Function And Parameter Declarations
Problem 6E
icon
Related questions
Question
100%

1. Write a program that inputs a string and output a series of ICAO words that 
would be used to spell it out. For example:
Enter string: Program Test
Phonetic version is: Papa Romeo Oscar Golf Romeo Alpha Mike Tango 
Echo Sierra Tango.

Note that there is a space in the string being translated and letters can be 
entered either upper or lower case. Any characters other than alphabet or the 
space should be ignored.
2. You should create a function called BuildCodeArray to build an array of 
strings of the ICAO words.
3. You should create a second function called TranslateString that takes a string 
and translates it into the ICAO spelling.
4. After printing the ICAO words the application should ask the user if they want 
to translate another string and continue looping until the user indicates they do 
not want to translate another string.
Be sure to use proper formatting and appropriate comments in your code. 
Provide appropriate prompts to the user. The output should be clearly labeled 
and neatly.

#the language for this code is python 

Background:
The International Civil Aviation Organization (ICAO) Alphabet is a series of words
which are used to represent each letter of the alphabet. These are used in critical radio
communications between airplanes and ground, and between airplanes in flight to
avoid misunderstanding. The code words are given in the list below:
Letter Word Letter Word
A
Alpha
N
November
В
Bravo
Oscar
C
Charlie P
Рара
D
Delta
Q
Quebec
E
Echo
Romeo
F
Foxtrot
S
Sierra
G
Golf
T
Tango
H
Hotel
U
Uniform
I
India
V
Victor
J
Juliet
W
Whiskey
K
Kilo
X
ХX-ray
L
Lima
Y
Yankee
M
Mike
Z
Zulu
Transcribed Image Text:Background: The International Civil Aviation Organization (ICAO) Alphabet is a series of words which are used to represent each letter of the alphabet. These are used in critical radio communications between airplanes and ground, and between airplanes in flight to avoid misunderstanding. The code words are given in the list below: Letter Word Letter Word A Alpha N November В Bravo Oscar C Charlie P Рара D Delta Q Quebec E Echo Romeo F Foxtrot S Sierra G Golf T Tango H Hotel U Uniform I India V Victor J Juliet W Whiskey K Kilo X ХX-ray L Lima Y Yankee M Mike Z Zulu
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Constants and Variables
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning