Question: This code is for solving the Einstein Who Owns the Fish puzzle. Right now all I get is No solution found. The code is below

This code is for solving the Einstein Who Owns the Fish puzzle. Right now all I get is No solution found. The code is below and I have solved the puzzle finding that the green house owns the fish. Just need help with the code.
// the green houses owner drinks coffe, which is the German
if(value == COFFEE && houses[h][NATIONALITY]!= NONE && houses[h][COLOR]!= GREEN){
return false;
}
if (value == TEA && houses[h][NATIONALITY]!= NONE && houses[h][NATI

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!