subject

Write a prolog program to my_delete that deletes a top-level atomic element of a list. write another program to deep_delete that deeply deletes an atomic element from an entire list including the element within any sublist. (hint: there are several meta-predicates such as atomic() that can be .) after your program is well defined, it should have the following behavior: ? - my_delete(a, [a, b, a, b, c], l). l = [b, b, c] ? - my_delete(a, [a, b, [a, b, c], a, b, c], l). l = [b, [a, b, c], b, c] ? - deep_delete(a, [a, b, [a, b, c], a, b, c], l). l = [b, [b, c], b, c] ? -

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:30
What elements related to the release and success of the nes console do you see in modern console releases? what elements are no longer relevant to modern console gaming?
Answers: 3
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 06:20
Which text function capitalizes the first letter in a string of text? question 10 options: upper capital first proper
Answers: 1
question
Computers and Technology, 23.06.2019 07:30
What is the original authority for copyright laws
Answers: 1
You know the right answer?
Write a prolog program to my_delete that deletes a top-level atomic element of a list. write another...
Questions
Questions on the website: 13722363