HELP IN JAVA: Write a program that will input integers(numerator and denominator) from a file (lab20.in) , createfractions from these integers, and store these fractions in anarray. It will then ask the user for two integers (numerator anddenominator), create a fraction from these, and search the arrayfor this fraction (using binary search). I am giving you the filebelow but when coding you will not always know the amount ofobjects in a file.
lab20.in:
1 4
5 16
3 8
50 100
11 12
4 3
3 2
13 8
50 25
9 4
11 4
59 20
90 30
Expert Answer
An answer will be send to you shortly. . . . .