Question: Create anew Java project entitledjavaCurrency. 2 . Create three packages: com.application.model, com.application.controller and com.application.view. 3 . In the com.application.model package create a class called CurrencyModel.

Create anew Java project entitledjavaCurrency.
2. Create three packages: com.application.model,
com.application.controller and com.application.view.
3. In the com.application.model package create a class called CurrencyModel.
4. In the CurrencyModel class create two public functions: double
convertJMDToUSD (This function accepts a double value representing
Jamaican Dollars and converts itto US Dollars and returns the converted
value) and double convertUSDToJMD (This function accepts a double value
representing US Dollars and converts itto Jamaican Dollars and returns the
converted value).The formulas and exchange rate can be found online.
5. In the com.application.controller package create a class called
CurrencyController which contains one private variable of type CurrencyModel,
this class will also be your main class.

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!