Instructions: Write a program to translate a message from English to Morse code.
- Using a simple text editor like Windows Notepad, create a text file with all
of the Morse code combinations for the letters and numbers.
The codes for the first five letters of the alphabet are shown here. Notice
that each code is on a separate line. You may want to include the letter or
number that corresponds to the symbol on the same line, but that is optional.
Read the file into a data structure of your choice.
Use static methods throughout the program.
Prompt the user to enter a message without punctuation. The program should not be
- Print the converted message in Morse code format to the screen.