Use the data given above to carry out the conversions


Consider the following foreign currencies and their equivalents to one U.S. dollar

British pound:

0.65 pound per U.S. dollar

Canadian dollar:

1.4 dollars per U.S. dollar

Dutch guilder:

1.7 guilders per U.S. dollar

French franc:

5.3 francs per U.S. dollar

German mark:

1.5 marks per U.S. dollar

Italian lira:

1570 lira per U.S. dollar

Japanese yen:

98 yen per U.S. dollar

Mexican peso:

3.4 pesos per U.S. dollar

Swiss franc:

1.3 francs per U.S. dollar

Write an interactive, menu-driven program that will accept two different currencies and return the value of the second currency per one unit of the first currency. (For example, if the two currencies are Japanese yen and Mexican pesos, the program will return the number of Mexican pesos equivalent to one Japanese yen.) Use the data given above to carry out the conversions. Design the program so that it executes repeatedly, until a stopping condition is selected from the menu.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Use the data given above to carry out the conversions
Reference No:- TGS01507123

Expected delivery within 24 Hours