Last active
July 9, 2020 06:36
-
-
Save BMU-Verlag/98a27c0b13674786dafc4c73239dba09 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for(i = 0; i < eingabe.length(); i++){ | |
int j = 0; | |
bool weiter = true; | |
while(weiter && j < 42){ | |
if(grossbuchstaben[j] != eingabe[i] && kleinbuchstaben[j] != eingabe[i]){ | |
j++; | |
} | |
else{ | |
weiter = false; | |
} | |
} | |
if (j < 42){ | |
ausgabe += morsezeichen[j] + " "; | |
} | |
} | |
cout << ausgabe; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment