Answered step by step
Verified Expert Solution
Question
1 Approved Answer
WRITE IN JAVA PLEASE 2. (Morse Alphabet) [50 Points] Morse code is perhaps the most famous code scheme, developed in 1832 by Samuel Morse for
WRITE IN JAVA PLEASE
2. (Morse Alphabet) [50 Points] Morse code is perhaps the most famous code scheme, developed in 1832 by Samuel Morse for use in the telegraph system. The Morse alphabet includes codes which consist of dots and dashes for each letter, number and some special characters (comma, semicolon, etc.). Develop a Java program that encodes a text written without using Turkish characters with Morse alphabet. Use one space between each letter of the Morse alphabet and three spaces between each word. Store each character and its Morse letter into a two-dimensional array. Create a method which finds the Morse code of any character from the array and returns it to the main program. Create a method which translates the text into an encoded expression using Morse alphabet. Create another method that converts the expression encoded using Morse code to its initial form. Test both methods. Morse Alphabet Character Code Character Code B U V RS D W E F G Y Z Numbers 1 H I J 2 3 K 3 L 4 M 5 5 6 N o N m. 8Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started