Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 trycatch
Task Description: An accountant has five text files Currencytxt containing many
numbers on each line which are purchases made by a client in USDUnited States
Dollar The accountant wants a program that converts each USD value to other
currencies. You should write these conversions to the text file Convertedtxt The
accountant also wants to know which file contains the most money used on purchases.
This should be displayed in the console.
Conversion Factors:
USD Euros
USD Japanese Yen
USD Indian Rupee
USD Canadian Dollar
USD Mexican Peso
USD 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#firstNamelastName.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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started