Computers and Technology

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.

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 05:00, brylove603
Pls do you believe that the use of 3d animation has grown in feature films over the last few years? if so, do you think the trend will continue? what are the forces driving this trend?
Answers: 2
image
Computers and Technology, 23.06.2019 09:30, blake2001
Which of the following tasks is an audio technician most likely to perform while working on a nature documentary? (select all that apply). eliminating potentially distracting background noise adding sound effects making sure the lighting is adequate for a particular scene changing the narration to better match the mood of the documentary
Answers: 3
image
Computers and Technology, 23.06.2019 19:00, jaymc1932
Whose task it is to ensure that the product flows logically from one step to another?
Answers: 3
image
Computers and Technology, 24.06.2019 07:00, erick7123
Why do we mark tlc plates with pencil and not with pen
Answers: 2
Do you know the correct answer?
Write a Prolog predicate contains_big(+L) that takes a list L of numbers as an argument. The predica...

Questions in other subjects:

Konu
History, 20.09.2020 02:01
Konu
Mathematics, 20.09.2020 02:01