Question: Write a Matlab script that would translate hello or goodbye from English to a choice of five languages. The script should prompt the user for
Write a Matlab script that would translate hello or goodbye from English to a choice of five languages. The script should prompt the user for an input of hello or goodbye. (Hint: use "1" for hello and "2" for goodbye.) In addition, the script should ask the user to what language to translate the word. Allow the user to choose among five languages (e.g. French, Japanese, Italian, Spanish, etc...) (Hint: use numerical values for each language and use if-else statements.) Take screenshots of the output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
