ok thanks for the info. ill come back with what i have changed later
Type: Posts; User: m49er704
ok thanks for the info. ill come back with what i have changed later
i was thinking i had to pass the sentence through some kind of loop so i could evaluate each letter by itself
sorry. the expected output is the original string and its morse code equivilant
that's all the code.... well except for the morse.txt file that i read into the arrays
--- Update ---
1 .----
2 ..---
3 ...--
4 ....-
5 .....
6 -....
this is a sample output
Enter the sentence that you wish to be decoded:
hello
..... .-.. .-.. --- This translates to : [C@15e83f9
..... .-.. .-.. --- This translates to : [C@15e83f9
........
hi I am writing a program that translates a string to morse code, but my output is a little strange. can anyone push me in the right direction? heres my code
public class Translate
{
...