you have received a text encoded with morse code and want to decode it. input: your program should read lines from standard input. each line contains a morse code message. each letter in the code is separated by a space char, each word is separated by 2 space chars. the output will contain encoded letters and numbers only. output: print out the decoded words.

Answer :

The program that decodes the code that comes in morse code is given below:

The Code

package com.codeeval.easy;

import java.io.BufferedReader;

import java.io.File;

import java.io.FileReader;

import java.io.IOException;

import java.util.HashMap;

import java.util.Map;

public class MorseCode {

*The complete code is attached as a file

Read more about programming here:

https://brainly.com/question/23275071
#SPJ1

${teks-lihat-gambar} jayilych4real

Other Questions