9 Declare a prolog database that gives information about sta
9) Declare a prolog database that gives information about states and capital cities. 8 state would be enough State as facts the BIG states (in area) and the SMALL states. State as facts some and som WESTERN states.
Solution
Ans)The command is listed below will feed and create a database in prolog. Then we need to use Issmallstate function to list all small states. Then we would capital function to list capitals of states.
b)
c)
True.
