![]() ![]() String morseToEnglish = Input.getString("Enter a phrase in Morse Code.") String englishToMorse = Input.getString("Enter a phrase in English.") ĮnglishToMorse = englishToMorse.toLowerCase() What I am looking for is a way to input a string in Morse Code including spaces and get the English translation out, including numbers? import java.util.* Ī = Input.getChar("Enter m for Morse to English or e for English to Morse.") The Google Gods have told me I can reverse the order of the hashmap in order to get the Morse to English translation, but I am drawing a blank. That can Translate both letters and numbers I have gotten the English to Morse to work perfectly using a HashMap. I am trying to write a Morse Code translator. ![]() I do realize that this questioned has been asked and I have searched through them for help.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |