Question
Find the current conversion rate for U.S. dollars to any three foreign currencies. Plan the logic for a program that allows the user to choose
Find the current conversion rate for U.S. dollars to any three foreign currencies. Plan the logic for a program that allows the user to choose one of the three foreign currencies, input a dollar amount for conversion and view the converted amount. Write 3 methods, one for each currency, each of which should input a dollar amount, perform the conversion and output the result.
The user can specify the foreign currency by its code, for example Japanese yen is JPY. Here is a list of exchange rates by code https://en.wikipedia.org/wiki/United_States_dollar#Current_exchange_rates
Each conversion should take place in its own method.
Having trouble coming up with the pseudocode and flowchart for this problem
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