you ask what the other computer would do and then do the opposite.
why? Because:
if it is the truth computer, it would tell you the other computer would tell you to go through the death door.
if it is the lying computer it wouldn't tell you the truth on what the other one would say and would...