Morse code has been one of the most basic communication protocols and still used today to convey SOS messages and other urgent communications. In Morse code, each English alphabet is encoded by a sequence of ’.’ and ’-’, see Figure 1 for complete mapping between English alphabets and Morse codes. Letters are separated by spaces and words by "/". Your task is to design a program that can
1. convert any given string into a Morse code sequence char* ConvertToMorseCode (char*) and
2. a Morse code sequence to a string. char* convertToString(char*)
You are not authorized to use string data type, however you can use char
1
Expert's answer
2020-10-19T08:13:11-0400
Dear Khansa, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
Comments
Leave a comment