Question: Wright a sample program that can convert between Euros, Dollars, Yen, and Pounds. To keep things simple we will only convert from Dollars or Euros
Write a simple program that can convert between Euros, Dollars, Yen, and Pounds To keep things simple we will only convert from Dollars or Euros to the other currencies Your program w look something like this Input currency value to convert 100 Enter 1 if converting from Dollars or 2 if converting from Euros Choice 1 Converting to: 1 (Euros) Converting to: 2 (Dollars) Converting to: 3 (Yen) Converting to: 4 (Pounds) Choice: 1 100 dollars is equal to 85.00 euros For getting correct output, you *MUST use the following conversion factors. Use of any other currency conversion will not be accepted 1 dollar = 0.85 euro dolla110.03 yen 1 dollardollar 1 dollar 0.78 pound euro1 euro 1 euro = 129.47 yen euo-1.18 dollar 1 euro 0.91 pound
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
