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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!