Question: i whant the code and the output [4 Marks] Problem 2 Convert pseudocode to program: Given the following pseudocode, write the corresponding Python program: a)
[4 Marks] Problem 2 Convert pseudocode to program: Given the following pseudocode, write the corresponding Python program: a) Currency Converter (Dirhams and Dollars only) 1. Ask the user to enter an amount of money 2. Ask the user to enter the currency 3. If the currency is 'dirham', then convert the amount of money to dollars. If the currency is 'dollar' then convert the amount of money to dirhams. If it is something else, then display the message "Unknown currency" 4. Display the amount of money after conversion to the new currency knowing that 1 dollar =3.67 dirhams Solution
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
