Question: Java Using NetBeans Sequence is a text file Understand JAR files Description A currency exchange station provides exchange of CAD to USD and Euro. Exchange

Java Using NetBeans

Sequence is a text file

Java Using NetBeans Sequence is a text file Understand JAR files Description

Understand JAR files Description A currency exchange station provides exchange of CAD to USD and Euro. Exchange rates from CAD to USD and from CAD to Euro are set daily. An exchange can be performed only to/from CAD which means customers can either buy USD and Euro or sell them for CAD. Create a class CurrencyConverter that will convert from CAD to other currencies and vice versa. Test it, store it in a JAR file and import the JAR into a new project. The main project will be named Exchange Station and its main method will read the following sequence: 0.7 0.6 100 buy USD 200 sell Euro 150 sell USD 250 buy Euro 100 buy Euro 200 sell USD end The first two numbers will be used to set exchange rate from CAD to USD and from CAD to Euro. The rest are for converting operations where buy represents conversion from CAD to another currency and sell represents conversion from another currency into CAD. Each operation must have a printout of the resulting sum. Setting exchange rates and converting currencies must be performed using CurrencyConverter 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!