Question: Description: Write a program named exchange.py that will mimic the conversion of an amount of US dollars into a currency of the user's choice. You

Description: Write a program named exchange.py that will mimic the conversion of an amount of US dollars into a currency of the user's choice. You will get the exchange rate for your chosen currency, manually take the closest integer, and input it to your program. The program will work on integer values only. That means this is not going to be an actual currency conversion tool. Input: The user should be prompted for three inputs, using three separate input statements (as in EX00): How many US Dollars do you want to exchange? [ user input, example: 100 ] Enter the name of the currency you are converting dollars to: [ example: yen ] What is the exchange rate? [ example: 114] Output: The input dollar amount, currency type, and amount of the currency that is equivalent to the input number of dollars, with appropriate description. Example: You can exchange 100 U.S. dollars for 11400 yen
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
