/binary-search-with-fork

Finding a number between 0 and 1000 using binary search and fork.

Primary LanguageCMIT LicenseMIT

Binary search with fork()

The assignment was to use binary search and fork to solve a game between a parent and a child. The child is supposed to pick a random number beteen 0 and 1000, then the parent has to guess a number. The child will then respond whether the guess was too low, too high, or correct.