Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+13 votes

Is your team using a Chatterbox like solution for this?

asked in CSC 305 Fall 2024 by (1.1k points)
+3

If you want to show both the morse code and the english translation, I would have a translate method to translate morse into English and then display both the morse code message and translated message.

2 Answers

+4 votes

You could just set the default to display the message in english or morse and have a translate button as an option to translate the message into whatever is not set as the default which is what out team did.

answered by (2.1k points)
0 votes

We had the user input be translated then displayed in english in a specific field on the screen if the user ticked a "show english translation" checkbox

answered by (4.1k points)
...