[Solved] : Question 125315

Prolog Questions

1: write prolog program to search book by book_title ,by book_author, by book_edition Using

recursion.

Hint: your input must be from above mentions, your rule must recursively find the book and

display the complete book information as provided in facts.

Facts: book(b_name,b_authmb_edition)

search_book() :-

write(“Enter book author name : “),

readln(BOOK_AUTH),

data(name(Z),company(BOOK_AUTH)),

nl, write(Z),

fail.


Expert Answer


Answer to : Question 125315

Leave a Comment

About

We are the best freelance writing portal. Looking for online writing, editing or proofreading jobs? We have plenty of writing assignments to handle.

Quick Links

Browse Solutions

Place Order

About Us

× How can I help you?