Question
Create a program that can convert dollars to yen, euro, peso. The user will input a dollar value. If the dollar value is greater than
Create a program that can convert 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 user to select yen, euro, peso or all currency conversion. If the dollar value is less than 0 prompt the user and stop the program.
The program has 4 methods that will return the currency conversion 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
Use constructors, parameters and arguments as needed. Program should be Memory Efficient.
Please compile and execute code in Command Prompt, Do not use IDE.
In Java please.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started