subject

Write the following statements as Prolog clauses, in the order given: a. If it is raining or snowing, then there is precipitation.
b. If it is freezing and there is precipitation, then it is snowing.
c. If it is not freezing and there is precipitation, then it is raining.
d. It is snowing.

What answer does Prolog give to the following queries:

Is it freezing?
Is it raining?

Can you rearrange the clauses so that Prolog can give better answers?

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:40
When running anti-virus software , what could be a reason where recipitent is not guaranteed that data being streamed will not get interrupted?
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
To check whether your writing is clear , you can
Answers: 2
question
Computers and Technology, 23.06.2019 16:30
If i wanted to include a built-in calendar in a document, what option could i select? draw table insert table insert chart quick tables
Answers: 1
question
Computers and Technology, 23.06.2019 18:00
Freya realizes she does not have enough in her bank account to use the debit card. she decides to use a credit card instead. which questions should freya answer before using a credit card? check all that apply. can i pay at least the minimum payment each month? can i make payments on time and avoid late fees? will i have to take out a loan? how much in finance charges can i afford to pay? should i talk to a consumer credit counseling service?
Answers: 1
You know the right answer?
Write the following statements as Prolog clauses, in the order given: a. If it is raining or snowin...
Questions
question
English, 08.06.2021 17:20
question
Mathematics, 08.06.2021 17:20
question
Mathematics, 08.06.2021 17:20
Questions on the website: 13722359