Question: Create a program that converts dollars to yen, euro, peso. The user will input a dollar value. If the dollar value is greater than 0

Create a program that converts dollars to yen, euro, peso. The user will input a dollar value. If the dollar value is greater than 0 create a menu that will allow to select Yen, Euro, Peso or all currency conversion. If the dollar value is less than 0 prompt the user and stop the program.

A program has 4 methods that will return the currency conversions for the following: 1)Convert and output conversion in yen; 2)Convert and output conversion in euro; 3)Convert and output conversion in peso; 4)Convert and output all 3 currencies.

Implement try/except to handle unexpected user input.

In java.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!