Course Solutions Uncategorized (Solved) : Java Question Assume Indata1 Indata2 Two Files Containing Least Two Integers Separated Whi Q37934725 . . . .

(Solved) : Java Question Assume Indata1 Indata2 Two Files Containing Least Two Integers Separated Whi Q37934725 . . . .

 

*Java Question*

Assume that indata1 andindata2 are two files containing at least twointegers, separated by white space.

Write a program named Add2 that writes the sumof the first integers of these two files to a file named outdata1.It writes the sum of the first integers of thesetwo files to a file namedoutdata2. Each sum iswritten on a line by itself.

So, if the contents of indata1 were “37 6 90″and the contents of indata2 were “1 4 9” thenoutdata1 would get 38 andoutdata2 would get 10.

Expert Answer


An answer will be send to you shortly. . . . .

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post