subject

Write a Prolog predicate contains_big(+L) that takes a list L of numbers as an argument. The predicate should succeed if at least one of the numbers in the list is big (using the definition in problem #1), and should fail if none of the numbers in the list are big. Predicate contains_big should call predicate classify from the previous problem to determine whether numbers are big. For example, contains_big([40, 692, 2, 800, 7]) should succeed, and contains_big([2, 4, 6]) should fail.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 07:30
An endless cycle of creation and response on the internet is called
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
Anul 2017 tocmai s-a încheiat, suntem trişti deoarece era număr prim, însă avem şi o veste bună, anul 2018 este produs de două numere prime, 2 şi 1009. dorel, un adevărat colecţionar de numere prime, şi-a pus întrebarea: “câte numere dintr-un interval [a,b] se pot scrie ca produs de două numere prime? “.
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
Janice usually works on a particular workbook that contains all business related data. she decides to keep a backup of all the data in a separate workbook. she opens a new workbook to transfer the data. which option should she use to copy all the data from one workbook to another workbook?
Answers: 1
question
Computers and Technology, 24.06.2019 08:20
Evaluate the scenario below and indicate how to handle the matter appropriately. situation: michael received an e-mail from what he thought was his doctor’s office, requesting his social security number. since he had just been in to see his doctor last week, he replied to the e-mail with his social security number.
Answers: 2
You know the right answer?
Write a Prolog predicate contains_big(+L) that takes a list L of numbers as an argument. The predica...
Questions
question
Spanish, 14.11.2020 21:40
question
Mathematics, 14.11.2020 21:40
question
Mathematics, 14.11.2020 21:40
question
Mathematics, 14.11.2020 21:40
Questions on the website: 13722363