salesperson's earnings? 11. Write a program that reads two currency codes, exchange rate from first currency to second a
Posted: Sun Jul 10, 2022 11:27 am
salesperson's earnings? 11. Write a program that reads two currency codes, exchange rate from first currency to second and the amount of money to be converted. Your program should display the converted amount for each currency using the following equations: First Currency Amount = Currency Amount x Exchange Rate Second Currency Amount = Currency Amount / Exchange Rate t the output to 4 1
Sample Input/Output Enter currency codes: USD BD Enter Exchange rate: 0.3774 Enter the amount: 125.0 USD 125.0000 BD 47.1750 BD 125.0000 USD 331.2136