Guess number

1. Katas

Problem:

There is one whole random number from 0 to 100. It is necessary to find it.

Note: you need to do a search using Binary search.

A task:

Display the line: "Random number is: r Count use: c", where r is the random number that was found, and with the number of input that were needed to find the random number.

Data to check:

A check here can serve as the output of a random number on the screen and checking it with the answer that the program gives

What's next ?

The program does not come out or works not exactly,go to the solution folder and look at the explanation for solving the problem, this will help you.

If you have everything turned out, you can go to the solution package and compare your solution with the one that's there.

If your decision does not coincide with my decision, then I'm very happy for you. Please share it with me, I will be very grateful to you and then I will add it to the solution folder. How to add your solution, see here

See Solution or visit Github page: