Menu
support@nursinghomework.org
+1 714-215-3097

(Solved) : Using Prolog Show Take User Inputted Attributes Distinguish Breed Dog Database Example Hus Q35542914

Using Prolog show how you can take user inputted attributes todistinguish which breed of dog.

Database example:

husky

attribute(husky,furry)

attribute(husky,tall)

attribute(husky,fluffy)

attribute(husky,blue_eyes)

color(husky,grey)

color(husky,white)

color(husky,black)

lab

attribute(lab,stocky)

attribute(lab,fluffy)

attribute(lab,loyal)

attribute(lab,big_paws)

color(lab,brown)

color(lab chocolate)

output should look like this Example:

Enter dog attributes then type finish when done

Furry

Fluffy

Tall

Finish

What color is the dog

grey

white

finish

Your dog is most likely a husky

Thaank you plz comment code and must use prolog language.plzshow output.

Leave a Reply

Your email address will not be published. Required fields are marked *