Question: Use functional decomposition to write a C++ program that inputs a letter and outputs the corresponding International Civil Aviation Organization alphabet word (these are the
Use functional decomposition to write a C++ program that inputs a letter and outputs the corresponding International Civil Aviation Organization alphabet word (these are the words that pilots use when they need to spell something out over a noisy radio channel). The alphabet is as follows:
| 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
Be sure to use proper formatting and appropriate comments in your code. Provide appropriate prompts to the user. The output should be labeled clearly and formatted neatly. |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
