Answered step by step
Verified Expert Solution
Question
1 Approved Answer
For many years people have been attempting to send and receive hidden messages without others knowing. The goal of this MiniProject is to use your
For many years people have been attempting to send and receive hidden messages without others knowing.
The goal of this MiniProject is to use your knowledge of strings and characters, along with the table below, to decipher a secret word!
Write a function called Decoder that takes the input string inString, and performs the following tasks:
Separate out the numbers and letterssymbols and put them into two separate arrays.
Use the table above to change the symbols in the array into letters to uncover a hidden message.
The function call is: numbers letterssymbols, secret DecoderinString
The input argument, inString, is a random string scalar including mixed numbers, letters, and symbols.
The output arguments:
numbers: A string scalar that includes all of the numbers in inString with the same order.
letterssymbols: A string scalar that includes all of the letters and symbols in inString with the same order.
secret: A string scalar that includes all of the characters in letterssymbols, however, with the symbol to letter conversion as used above. There should only be letters in this output.
Step 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