Regis lives in Brazil and frequently travels to USA, Japan and Europe. He wants to be able to convert Brazilian Reais into US dollars, European euros and Japanese yen. Conversion formula is:
Currency value = number of Reais X conversion rate
For instance, if Regis is going to USA and wants to take 1000 Reais (and exchange rate is 0.48) then he would input USA, 1000 and 0.48 and output would be: 480 US dollars.
Write an algorithm, using a flowchart that inputs country he is visiting, exchange rate and amount in Brazilian Reais he is taking. Output will be value in foreign currency and name of the currency.