What would the other guard say if I asked him what is behind his door? The good one knows that the liar will say heaven, the bad one knows that the good one will say heaven, but lie about it and say hell.
Their answers reveal what's behind them.
Not quite, it's a very good guess though. And on the right track I guess, and as I said, it's a yes or no question.
P.S. your answer is incorrect, I'm not saying it's wrong because it's not what I'm looking for.
"Would the other guard tell me that this door leads to heaven?"
Both the angel and devil would give the same answer, so that wouldn't work.
Doesn't matter who answers it or which door they are guarding. If they say 'yes' then the door behind him is to heaven, if 'no', then it's to hell, in which case the other door would be taken.
See I don't get it (but maybe I'm just slow), I don't think this works.
This guy doesn't know who the angel is and who the devil is, also he doesn't know which door each is guarding.
If the guy asks the devil "would the other guard tell me that this door leads to heaven" and it does, then the devil would say no (it still doens't reveal if that is the truth or if that is a lie).
If the guy asks the angel "would the other guard tell me that this door leads to heaven" and it does, then the angel would say no (it still doens't reveal if that is the truth or if that is a lie).
You still don't know what door to go through.
And btw the answer I was looking for was 'Does the devil guard the way to hell?'
But no matter who you ask, or what the answer is, you don't know if it is the truth or a lie. You don't know who the devil is or who the angel is, or who guards which door, based on that question.
If the devil does guard the way to hell, and the man asks the devil, the devil would say no. (but you still don't know if you asked the angel or the devil because you don't know which is which, so if you don't know if this the truth or a lie, so you still don't know what door to go through).
If the devil doesn't guard the way to hell, and the man asks the devil, the devil would say yes.(but you still don't know if you asked the angel or the devil because you don't know which is which) so either answer (of the answers given so far have no credibility because you don't know which is which or which door they're guarding. Or maybe if I think about this later while I'm not at work it would make more sense