Question 1: Write a program in Java to generate 1000 random numbers in a range from 1 to 99 and write it down in the file.
Question 2: Write a program in Java to search a user defined or a random variable in the file generated in question 1 and display the required number of iterations.
Question 3: Write a program in java to find a user defined number in the Sorted array using Binary Search Technique and display the required number of iteration.
Input File: 1000 Random Numbers
Output File: Number of Iterations for the user defined numbers.