Hi! Im finishing up a lottery number generator and the only part im kinda lost in is the binary search part.

I have two strings = input[], random; I have to go through each subscript and check if it matches my already random generated number.

Thanks in advance to those who are willing to help.