Question: Exercise#1: Write a Java program that reads two five-digits long integer numbers from a file. The Program should print the numbers to another file but

 Exercise#1: Write a Java program that reads two five-digits long integer

Exercise#1: Write a Java program that reads two five-digits long integer numbers from a file. The Program should print the numbers to another file but in reverse order either in single line or multiple lines. For example, if the numbers read are 12020 03120 from the input file then your program will output 02021 02130 to another file. (Hint: use charAt() method)

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!