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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 17:10, isophk
Can be categorized as popularity, relevancy, and user satisfaction. select one: a. mobile search seo b. ranking factors c. serp d. web analytics
Answers: 1
image
Computers and Technology, 22.06.2019 00:40, mcfancei
Reading characters and strings from the keyboard: consider the following c++ program 1. #include 2. #include 3. using namespace std; 4. mystring1 5. 6. int main() 7. { 8. 9. string mystring1, mystring2; mychar1 10. 11. 12. char mychar1, mychar2; 13. 14. cout< < "enter a string: "; mychar2 15. 16. cin> > mystring1; // 17. cin. get(mychar1); 18. cin> > mychar2; 19. getline(cin, mystring2); mystring2 20. 21. 22. cout<
Answers: 1
image
Computers and Technology, 22.06.2019 18:30, dpinzoner5952
Which of the following commands is more recommended while creating a bot?
Answers: 1
image
Computers and Technology, 22.06.2019 23:00, maxy7347go
Which factor is the most important when choosing a website host? whether customers will make secure transactions the number of email accounts provided the purpose of the website the quality of the host control panel
Answers: 3
You know the right answer?
Write the following statements as Prolog clauses, in the order given: a. If it is raining or snowin...

Questions in other subjects:

Konu
Physics, 29.08.2019 19:30
Konu
Health, 29.08.2019 19:30