Question: Make sure to use swtich statement. The main method was written by my teacher and all that is required is to edit the translate method
Make sure to use swtich statement. The main method was written by my teacher and all that is required is to edit the translate method so please just add things to that only. 









Lab Goal This lab was designed to give you practice using a switch statement in Java. It also will give you some more practice with Strings. Instructions Complete the translate method. This method takes a string in Morse Code and translates it to a text string. The text string is returned. trans late takes one parameter, a string containing the morse code word translate doesn't print anything. Instead it returns a string containing the text word. This word is printed in main You must translate all the characters below (A-Z,0-9) All translated characters will be uppercase If you receive a Morse Code letter that is not translatable it should translate to "?". Each Morse Code letter will be separated by a single space. You may edit the main() method if you wish, but it is not required
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
