Question: Objectives: This assignment will give you the opportunity to use input and output functionality inside java. When using input and output functions, you will also

Objectives: This assignment will give you the opportunity to use input and output
functionality inside java. When using input and output functions, you will also need to
have knowledge of exceptions and loops. Therefore, by completing this assignment,
students will have learned.
Importing values from a text file
Using for and while loops
Exporting data to a text file
Using Exceptions (try-catch)
Task Description: An accountant has five text files (Currency[1].txt) containing many
numbers on each line which are purchases made by a client in USD(United States
Dollar). The accountant wants a program that converts each USD value to 6 other
currencies. You should write these conversions to the text file (Converted.txt). The
accountant also wants to know which file contains the most money used on purchases.
This should be displayed in the console.
Conversion Factors:
1.03 USD =1 Euros
0.0071 USD =1 Japanese Yen
0.012 USD =1 Indian Rupee
0.75 USD =1 Canadian Dollar
0.051 USD =1 Mexican Peso
0.00075 USD =1 South Korean Won
Output Example:
Submission notes:
Submit all files from your src folder, including all .java and input files, the .project
file, .classpath file, and optionally, the .settings folder.
Be sure that your project compiles on CS Department computers before
submission.
Zip the entire folder and name it as Assg#_firstName_lastName.zip.
Submit the zipped file in the respective Canvas link.
Instructions for Mac users
o By default, Finder hides dot files like .project, .classpath, and the .settings
folder. You can use the shortcut (shift + command +.(dot)) to show
hidden files in Finder.
Instructions for Linux users
o By default, your file manager may hide dot files like .project, .classpath,
and the .settings folder. Your file manager should have a setting that will
show hidden files. Its location and any shortcuts depend on the file
manager you are using.

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!