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.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
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
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education