Question: In this project, you are required to write the java program IO.java to implement integer operations +, , *. Specifically, your program reads operands from
In this project, you are required to write the java program IO.java to implement integer operations +, , *. Specifically, your program reads operands from a file named input.txt (which will be manually placed under the directory of the program) as strings. Then your program converts strings to integers, and computes the addition, subtraction, and multiplication of the operands. Finally, your program creates a file named output.txt (under the directory of the program) and writes the results to the file. Please check the attached sample files input.txt and output.txt.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
