Discuss the below:
Q: The united kingdom uses two official currencies, the British Pound Sterling, and the euro. Currently the exchange rate is 1 USD to 1.5771 GBP, and 1 USD to 1.37653. Write a program that will ask the user what type of currency he has and return a value for that currency.