Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a python program, named exchange.py , that prompts for the number of dollars you re bring to Italy, converts the dollars to euros and

Create a python program, named exchange.py, that prompts for the number of dollars youre bring to Italy, converts the dollars to euros and deducts the exchange fee. Display the number of dollars, euros (based on the exchange) and number of euros youll actually receive (less any transaction fee).
Look up the current conversion rate and assign the rate to a variable.
Exchange Fees are as follows:
If the converted euros are less than 500, there is no fee
If the euros are between 5002000, the fee is 3%
If the euros are between 20015000, the fee if 5%
For euros over 5000, the fee is 7.5%

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions