This problem demonstrates the use of the chain of responsibility (COR) design patterns on a simple version of the currency converter program (CCP). The CCP performs conversion from EURO to one of the following three currencies: USD, CAD (Canadian Dollar), and AUD (Australian Dollar). Its user interface looks like this: This problem combines the decorator pattern with the CoR implemented in Problem 1. The text appearing in the output field of the CCP UI is a string that has to undergo three decorations: Round output to 2nd decimal (e.g., 123.456 to 123.46) Write output in exp. notation (e.g., 123.46 to 1.235e2 ) Add the currency name to the converted amount (e.g., 1.235e2 to 1.235e2 USD) The resulting processing flow (including the chain of responsibility from the previous problem) for CCP is shown schematically in the next figure: – The UML class diagram. – A SINGLE MS Word document that includes (i) screenshots showing different execution scenarios (ii) printout of the implementation code. – The code must have graphical user interface to test the functionality. – Softcopy of the implementation code.

The problem at hand involves implementing the chain of responsibility (COR) design pattern in a currency converter program (CCP). The CCP is a simple program that converts the EURO currency to one of three currencies: USD, CAD (Canadian Dollar), and AUD (Australian Dollar). The user interface of the program displays an input field for the EURO amount and an output field showing the converted amount.

The specific task in this problem is to combine the decorator pattern with the COR pattern implemented in a previous problem. The output displayed in the CCP’s user interface goes through three decorations:

1. The output is rounded to the second decimal place. For example, if the converted amount is 123.456, it will be rounded to 123.46.

2. The rounded output is then written in exponential notation. For example, if the rounded output is 123.46, it will be written as 1.235e2.

3. Finally, the currency name (USD, CAD, or AUD) is added to the converted amount. Using the previous example, the final output will be 1.235e2 USD.

The processing flow for the CCP, including the chain of responsibility, can be illustrated in a schematic representation. Additionally, a UML class diagram should be provided to depict the structure of the classes involved in the implementation.

To complete this assignment, the deliverables include a single Microsoft Word document that contains the following:

1. Screenshots showing different execution scenarios of the program.

2. A printout of the implementation code, preferably in the form of a code snippet or a code listing.

Furthermore, the code implementation must include a graphical user interface (GUI) to facilitate the testing of its functionality. This will help in evaluating the effectiveness of the program and ensuring that it operates as expected.

Lastly, a soft copy of the implementation code should be included as part of the deliverables. This soft copy can be shared in a suitable file format such as a compressed folder or a text file.

By following these guidelines and ensuring the inclusion of all requested materials, this assignment on implementing the COR design pattern in the currency converter program can be successfully completed.

Need your ASSIGNMENT done? Use our paper writing service to score better and meet your deadline.

Click Here to Make an Order Click Here to Hire a Writer