I need help!!!!
Can someone pls help me with this question
Question: Two of your freinds,Bob and Bill left your calculator in one off their lockers. To test your logic the boys give you chance to ask them one question regarding who's locker the calculator is in. How ever,since they want to test your logic they have decided the one boy will lie to you what ever you ask and other one will tell you the truth what ever you ask. You do not know who will lie and who will tell the truth. You ask Bill ' will Bob tell me it is in his locker?' and Bill says, Yes. You smile in triumph and open the locker containing your calculator. Explain how you knew where calculator was located.
Please help me to solve this,