Question: ASAP Matlab QUESTION 1 Write a MATLAB program call Convert.m that can be used for exchange currency The program should inform the user about the
QUESTION 1 Write a MATLAB program call "Convert.m" that can be used for exchange currency The program should inform the user about the available currency for exchange. United States Dollar (USD) United Arab Emirates Dirham (AED) Saudi Riyal (SAR) Pound Sterling (GBP) Euro (EUR) The program should take the following inputs from the uter: Initial amount Initial currency Convert currency The program then should calculate the converted amount based on the following exchange rates 1 United States Dollar (USD) equals 3.67 United Arab Emirates Dirham (AED) 1 United States Dollar (USD) equals 3.75 Saudi Riyal (SAR) 1 United States Dollar (USD) equals 0.31 Kuwaiti Dinar (KWD) United States Dollar (USD) equals 0.78 Pound Sterling (GBP) . 1 United States Dollar (USD) equals 0.86 Euro (EUR) The program then should output a message indicating the converted amount in the converted currency Check the following command window that displays the messages and the highlighted input data entered by the user when running the program. >> Convert Welcome The available currency for exchange are: United States Dollar (USD) United Arab Emirates Dirham (AED) Saudi Riyal (SAR) Pound sterling (GBP) Euro (EUR) Enter initial amount for exchange 20 Enter initial currency code: GBP Enter convert currency code: LED Note: 20.000000 in GBP is equal to 1.102564 in AED
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
