The Currency Converter
The goal of this assignment is to use functions. Try to contain as much of your code as possible inside of functions that are well named and can be reused. At a minimum your code must use two functions.
You are to create a program that can convert money from one system to another. (Going back & forth form USD – EURO or EURO – USD)
At the start of your program, ask the user how much money they have. Next ask them what currency they have and finally ask them what they want to convert it into. Convert the currency to the requested output and print a nice alert message with the value in the other currency.
Requirements
Use the following currencies and conversion rates:1 USD = 0.91 Euro
1 USD = 124.17 JP Yen
1 USD = 0.65 British Pound
1 USD = 3.51 Brazilian RealYou can use math to figure out what all of these are equal to relative to one another.
Use the following as allowed input for the currency systems:‘USD’
‘EUR’
‘GBP’
‘JPY’
‘BRL’Program expectationsYour code must use a minimum of two functions.
One function should calculate the conversion.
One function should print the alert message with the converted currency and the currency name.
The conversion function(s) should accept input parameters and return a value.
The print function should also take input parameters.
The final message should display the converted currency rounded to two decimal places.
Hint – It probably makes sense to use two conversion functions. One function to convert from any currency into USD and another to convert from USD into anything other currency.
Approximate price: $22
We value our customers and so we ensure that what we do is 100% original..
With us you are guaranteed of quality work done by our qualified experts.Your information and everything that you do with us is kept completely confidential.You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.The Product ordered is guaranteed to be original. Orders are checked by the most advanced anti-plagiarism software in the market to assure that the Product is 100% original. The Company has a zero tolerance policy for plagiarism.The Free Revision policy is a courtesy service that the Company provides to help ensure Customer’s total satisfaction with the completed Order. To receive free revision the Company requires that the Customer provide the request within fourteen (14) days from the first completion date and within a period of thirty (30) days for dissertations.The Company is committed to protect the privacy of the Customer and it will never resell or share any of Customer’s personal information, including credit card data, with any third party. All the online transactions are processed through the secure and reliable online payment systems.By placing an order with us, you agree to the service we provide. We will endear to do all that it takes to deliver a comprehensive paper as per your requirements. We also count on your cooperation to ensure that we deliver on this mandate.
python 1
Never use plagiarized sources. Get Your Original Essay on
python 1
Hire Professionals Just from $11/Page