The following question is supposed to give you insight on how to maintain logic when making programs. Please be open minded as this may not look like a Computer Science Problem, but it definitely contains logic that you will use when making If statements and Booleans, so PLEASE keep that in mind.Who Robbed the National Bank?Inspector Malone knows that the culprit is one and only one of the following: Alex, John, or Sally. He interrogates them. Each makes two statements.Alex: It wasn't me. John did it.John: Listen, Alex did it.And Sally did it.Sally: I didn't do it. Neither did Alex.Each has made one TRUE statement and one FALSE statement. Who did it?
Discrete Math/Logic Problem used in Computer Science Class: Who Robbed the National Bank?
discrete mathematics