This logic puzzle can be found on the web so NO GOOGLING!
You walk up to three gods. One always tells the truth, one always lies, and one randomly decides to tell the truth or to lie and does what he chooses.
You can ask them 3 questions and they will answer with yes or no but in their language so Ja or Da.
You need to figure out which god is which in 3 questions (Ja and Da doesn't matter)