Discussions related to Visual Prolog
ohid4u
Posts: 1
Joined: 3 May 2014 13:25

write an arithmetic Prolog Program that will add, substract, multiply or divide two numbers.

Unread post by ohid4u »

write an arithmetic Prolog Program that will add, substract, multiply or divide two numbers.

example:


?- run.
Enter the first number:
Enter the second number:

What would you like to do?
a. Add.
b. Substract.
c. Multiply.
d. Divide.
e. Exit.
Answer a, b, c, d or e:
billgates198606

Unread post by billgates198606 »

ican help what you can exchange for,do you have a payed version
Post Reply