question archive 1) Write a program that allows the user to convert an amount oF money between UK Pounds and other currencies

1) Write a program that allows the user to convert an amount oF money between UK Pounds and other currencies

Subject:Computer SciencePrice: Bought3

1) Write a program that allows the user to convert an amount oF money between UK Pounds and other currencies. 2. The menu should have the Following elements — a. Allow the user to enter the amount to be converted. b. Allow the user to enter the currency type (The user enters the country, like Brazil, etc.) i. Make sure you validate the user input. ii. Make sure when you display the converted value, you show the original entered value, the calculated value, the exchange rate, and the dates range it is valid. 0. An option to allow the user to export the data to a csv text File. For example, 1F the user wants to convert 1@-pound sterling then decides to export, the File should contain the amount converted to all available currencies. Prompt the user For the name oF the File and write the data in CSV Format in the Following order: 1. country code, country, converted amount, the exchange rate, date range it is valid. 3. You can get a CSv file of exchange rates From here - a. htt 5: www. ov.uk overnment ublications hmrc-exchan e-rates- or- ZQZG-monthly 4. Make sure you use the URL speciFic to the current month like a. htt s: assets. ublishin .service. ov.uk overnment u loads 5 stem u 1 oads/attachment data/Filef?93@4S/exrates—monthly—Qélg.csv . Your application should read the File From the web and parse it into a P030. . Consider a Currency Object that you can store in a Set. This object should model data From the File For one currency. . Create another class to contain a set of your currency objects . Create a class CurrencyDAU to handle reading and writing the File. . Make sure you overload all methods as required. 19. Reading a File From the web means creating a URL object and passing it to a Scanner. Once you have the scanner object you can read From the File like you would any text File.

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE