Python Assignment



Posted : 10 months ago

You have recently returned to Australia after a holiday abroad.  You have some unspent foreign currency that you need to convert back into AUD (Australian Dollars).  Write a program that will allow you to enter two or more amounts of foreign currency and their associated exchange rate.  Convert the amounts back into AUD and print the total sum of AUD received once all conversions are complete.

Resulting program output might look similar to:

Enter currency amount: 100

Enter exchange rate: 0.75

100.0000 / 0.7500 = 133.33

 

Enter currency amount: 100

Enter exchange rate: 0.50

100.0000 / 0.5000 = 200.00

 

Total AUD received = $333.33




Files Attached

No files attached