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 16:40
Match each feature of e-publishing as an advantage, a disadvantage, a threat, or an opportunity. (choices) increased collaboration digitalized out-of-print versions monopoly over digital formats requirement for a specialized digital device pairs advantage of e-publishing disadvantage of e- opportunity for e- threat to e-
Answers: 1
question
Computers and Technology, 22.06.2019 20:00
The blank button automatically displays next to the data when you select a range of numeric data which is an available option for creating a chart
Answers: 3
question
Computers and Technology, 23.06.2019 05:00
In cell b18, enter a formula to calculate the amount budgeted for meals. this amount is based on the daily meal allowance and the total travel days (# of nights+1).
Answers: 1
question
Computers and Technology, 23.06.2019 15:30
Hey so i was just trying out some game hacks so i took a paste from online and built it in my visual studio and then suddenly my computer was working or clicking on stuff on its own am i hacked?
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
question
Mathematics, 20.01.2021 14:00
question
English, 20.01.2021 14:00
question
Mathematics, 20.01.2021 14:00