Create class OilReserve to implement the functionality of the Oil Reserve described above. (The constructor and accessors interpret negative parameter values as zero. Don't implement the silos as TinyStore-objects!)
(16 points)
(16 points)
(9 points)
Then the player starts to use the program. The player tries to guess the numebers that there are in the array. The game ends, when the player has guessed three different numbers. The result - which is also printed - is the number of guesses, so it is at least three. For the sake of efficiency, the search of the guessed numbers must be programmed with the Binary Search
(9 points)