0
How can I write a morse code? Plz help me in this code
7 Respuestas
+ 9
You can find some great examples of various methods in comments here. Just please don't copy any without giving credit to original author.
https://www.sololearn.com/learn/4628/?ref=app
+ 3
Sina = ... .. -. .-
Use a space or slash between letters. Double between words. Full table of letters/numbers are here:
https://en.m.wikipedia.org/wiki/Morse_code
+ 3
Easiest way: array of strings with code. Indexed by 0..25 for letters 26..35 for numbers. Take string to convert to integer: string.charCodeAt(i). Personally, lowercase everything. Subtract the 'a' to get the index for letter: 'a'.charCodeAt(0). For numbers, subtract '0'.charCodeAt(0)+26.
0
I don't need the alphabet the morse yet I want to know how can I write morse code
0
plz write a example of a morse code with two or three letters of the morse that I can learn and write a morse code
0
I know that but I don't know how to write a morse js code I don't how to convert it in js😥😥😥
0
I want to write a code to convert