Anyone know how to check morse code in a given string of dots and dashes?? | Sololearn: Learn to code for FREE!

0

Anyone know how to check morse code in a given string of dots and dashes??

11/21/2016 10:05:11 AM

Adithya

4 Answers

New Answer

+1

With spaces or without them?

+1

Ok, you know that there are different translations to your example, right? Because .. is a letter and ... is another letter, for example, so you have two possibilities already in the beginning. You want a code that give you this possibilities?

0

without spaces Eg : "....-..-...--"

0

yes exactly... say a=.. b=..- c=-.. and other than this is X say