Cannot work for 2nd iteration because of writing delay.
- by karikari
My code's IF-THEN does not work for 2nd iteration. This is due to, the jar processing take some time to write it result inside the output.txt.
Since the writing is a bit late, my code's 2nd iteration will always read the previous written value inside the output.txt in order to pass it to the IF-THEN.
For example, in 1st iteration:
output.txt --…