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, 23.06.2019 02:30
These factors limit the ability to attach files to e-mail messages. location of sender recipient's ability to open file size of file type of operating system used
Answers: 2
question
Computers and Technology, 25.06.2019 05:30
When a game allows you to pick party members from a large pool, each with different classes and roles but in which no single party combination is clearly superior to others, the game is using: intransitive relationships transitive relationships orthogonal relationships parallel relationships
Answers: 1
question
Computers and Technology, 25.06.2019 08:10
What refrigerant has been approved for new household refrigerators and freezers
Answers: 1
question
Computers and Technology, 25.06.2019 11:30
Sophie is using context clues with her new reading assignments. what results should she expect to see? check all that apply. increased reading speed better memorization skills better ability to take tests increased word recall more reading enjoyment
Answers: 2
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
Mathematics, 28.08.2019 01:00
question
Mathematics, 28.08.2019 01:00