Answered step by step
Verified Expert Solution
Question
1 Approved Answer
FOR C++: Assignment Overview Your task for this assignment is to create an FX Calculator in which customers can receive quotes for how much it
FOR C++:
Assignment Overview Your task for this assignment is to create an FX Calculator in which customers can receive quotes for how much it would cost to transfer $x to another country and convert it to that countries currency for pickup. You must write a menu driven program that performs the following functionality: 1. Prompts the user to select a destination country 2. Ask the user to enter an amount to send (in USD) 3. Calculate the exchange 4. Calculate the fee 5. Display a total amount due (in USD) and the correct amount of money that will be received in the destination countries currency. The countries that your program need to support and their corresponding fx rates and abbreviations are as follows: Mexico - 18.8018 (i.e. 1 USD = 18.8018 MXN) Great Brittain - 0.76792 (i.e. 1 USD = 0.76792 GBP) Germany - 0.89869 (i.e. 1 USD = 0.89869 EUR) Canada - 1.30602 (i.e. 1 USD = 1.30602 CAD) India - 70.8729 (i.e. 1 USD = 70.8729 INR) Australia - 1.44838 (i.e 1 USD = 1.44838 AUD) After a user chooses a destination, they will enter in a dollar amount they would like to transfer, ranging from $1 - $10000. Depending on how much money they would like to transfer will determine the fee that is added to the amount due. Below are the fees that you should use for this program: Between $0 - $499 apply a fee of $4.99 Between $500 - $999 apply a fee of $8.99 Anything above $1000 apply a fee of $14.99 Once the calculations have been completed and displayed to the user, re-prompt them again with a list of destination countries to chooses from to receive a quote for another transaction. Example Walkthrough Program Begins... Welcome to SMU's FX Calculator!! Choose a country you would like to send to: 1. Germany (EUR) 2. Great Britain (GBP) 3. Canada (CAD) 4. India (INR) 5. Mexico (MXN) 6. Australia (AUD) 0. Quit Select an option (1-6): User enters 1 Please Enter an amount (in USD) : $ User enters 550 Here is your quote! Amount due at checkout: $558.99 Amount received: 494.28 EUR Choose a country you would like to send to: 1. Germany (EUR) 2. Great Britain (GBP) 3. Canada (CAD) 4. India (INR) 5. Mexico (MXN) 6. Australia (AUD) 0. Quit Select an option (1-6): User enters 0. Program Terminates Project Specifications 1. Your program does not have to contain programmer defined functions but may 2. Your menu must continue to display, allowing the user to enter another option until the user decides to quit. (5 points) 3. Once the calculations are performed, your program should display the labelled amounts that the user entered and the calculated values nicely formatted including dollar sign, decimal point and rounding to two decimal places. (5 points) 4. If the user enters an incorrect option, your program should display an error message and ask for the menu choice again until a correct one is entered. (5 points)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started