Question: Write a function in Java that given the 2 integer values of measurements ( A and B ) and a file with the measurements on

Write a function in Java that given the 2 integer values of measurements (A and B) and a file with the measurements on specific dates (e.g.512 measurements in egIN.txt columns -> date, measurement 1, measurement 2), finds the dates where the first measurement (A) is one working day before the second measurement (B). where egIN.txt is 20170811,5,15
20170814,5,15
20170815,5,16
20170816,6,16
20170817,6,15
20170818,6,15
20170821,6,15
20170822,6,15
20170823,6,15
20170824,6,15
20170825,6,15
20170828,6,16
20170829,6,16
20170830,6,16
20170831,6,16
20170901,6,16
20170905,6,16
20170906,6,16
20170907,6,16
20170908,6,15
20170911,6,16
20170912,6,16
20170913,6,15
20170914,6,15
20170915,6,15
20170918,6,15
20170919,6,15
20170920,6,15
20170921,6,15
20170922,6,15
20170925,6,15
20170926,6,15
20170927,6,15
20170928,6,15
20170929,6,15
20171002,6,15
20171003,6,15
20171004,6,15
20171005,6,15
20171006,6,15
20171009,6,15
20171010,6,15
20171011,6,15
20171012,6,15
20171013,6,15
20171016,6,15
20171017,6,16
20171018,6,15
20171019,6,15
20171020,6,15
20171023,6,15
20171024,6,15
20171025,6,15
20171026,6,15
20171027,6,16
20171030,6,16
20171031,6,16
20171101,6,16
20171102,6,16
20171103,6,17
20171106,6,17
20171107,6,17
20171108,6,17
20171109,6,17
20171110,6,17
20171113,6,17
20171114,6,17
20171115,6,16
20171116,6,17
20171117,6,17
20171120,6,16
20171121,6,17
20171122,6,17
20171124,6,17
20171127,6,17
20171128,7,17
20171129,6,16
20171130,6,17
20171201,6,17
20171204,6,16
20171205,6,16
20171206,6,16
20171207,6,16
20171208,6,16
20171211,6,17
20171212,6,17
20171213,6,17
20171214,6,17
20171215,6,17
20171218,6,17
20171219,6,17
20171220,6,17
20171221,6,17
20171222,6,17
20171226,6,17
20171227,6,17
20171228,6,17
20171229,6,16
20180102,6,17
20180103,6,17
20180104,6,17
20180105,6,17
20180108,7,17
20180109,7,17
20180110,7,17
20180111,7,17
20180112,7,17
20180116,7,17
20180117,7,17
20180118,7,17
20180119,7,17
20180122,7,17
20180123,7

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 Programming Questions!