Question: support file ( Note: use a parallel array of char[] and String[] to keep the mapping between ASCII and Morse codes ) need to submit
support file

( Note: use a parallel array of char[] and String[] to keep the mapping between ASCII and Morse codes )
need to submit the source code files of all the classes you'll implement and the driver program for the problem. Submit your flowchart or pseudo code.
16. Morse Code Converter Write a program that asks the user to enter a string, then converts that string to Morse code. Morse code is a code where each letter of the English alphabet, each digit, and various punctuation characters are represented by a series of dots and dashes. Table 8-15 shows part of the code. Table 8-15 Morse code Character Code Character Code Character Code Character Code space space 6 G -- ---- comma ---- 7 H R period .-.-.- --- I 3 question mark J I - 0 -.- 1 ---- B L v ---- -- --- 3 3 D N --- E 0 --- Y ---- 5 F P --... Morse + NUM_CHARS : int = 40 1- original : String - mcode : String - regular : char[] - morse : char[][] + Morse(input : String) + to Morse(ch : char) : String + getMorseCode(): String + getOriginal(): String
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
