Question: Write a Matlab script that would translate good morning or happy birthday from English to a choice of five languages. The script should prompt the

Write a Matlab script that would translate good morning or happy birthday 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 good morning and 2 for happy birthday.) 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.)

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 Programming Questions!