in Prolog
I made ??up the rules so
home: - domanda (yellow wall), domanda2 ( bulbs), domanda2 (attic), domanda2 (desk)
Villa: - domanda(green wall), domanda( lamp), domanda2 (attic), domanda2 (mobile)
how do I say that if the specific domanda2 (attic) is negative, you have to skip all the other domanda2
I made ??up the rules so
home: - domanda (yellow wall), domanda2 ( bulbs), domanda2 (attic), domanda2 (desk)
Villa: - domanda(green wall), domanda( lamp), domanda2 (attic), domanda2 (mobile)
how do I say that if the specific domanda2 (attic) is negative, you have to skip all the other domanda2