Can a batch file do Morse code conversion? The user enters English letters, then they are converted into Morse code and saved into a text file. I thought of using set, but I don't know if that will work. Right now I still have no idea at all, so I'm asking everyone for help!
Conversion format:
For example: I LOVE YOU
Convert to: .. .-.. --- ...- . -.-- --- ..-
Also attaching the conversion codes for Morse code and English:
A .-
I ..
Q --.-
Y -.--
7 --…
B -…
J .---
R .-.
Z --..
8 ---..
C -.-.
K -.-
S …
1 .----
9 ----.
D -..
L .-..
T -
2 ..---
0 -----
E .
M --
U ..-
3 …--
. .-.-.-
F ..-.
N -.
V …-
4 ….-
? ..--..
G --.
O ---
W .--
5 …..
, --..--
H ….
P .--.
X -..-
6 -….
Conversion format:
For example: I LOVE YOU
Convert to: .. .-.. --- ...- . -.-- --- ..-
Also attaching the conversion codes for Morse code and English:
A .-
I ..
Q --.-
Y -.--
7 --…
B -…
J .---
R .-.
Z --..
8 ---..
C -.-.
K -.-
S …
1 .----
9 ----.
D -..
L .-..
T -
2 ..---
0 -----
E .
M --
U ..-
3 …--
. .-.-.-
F ..-.
N -.
V …-
4 ….-
? ..--..
G --.
O ---
W .--
5 …..
, --..--
H ….
P .--.
X -..-
6 -….
