Examlex

Solved

What General Rule Should Be Added to the Prolog Program

question 46

Short Answer

What general rule should be added to the Prolog program below so that Prolog can conclude that ice cream is better than spinach?
better(icecream,peanutbutter).
better(peanutbutter,spinach).


Definitions:

Rate of Return

The profit or deficit experienced on an investment within a specific duration, shown as a percentage of the investment's initial value.

Successive Years

Consecutive years; years following one after another in a sequential order.

Annual Rate of Return

The percentage of profit or loss on an investment over the period of a year.

Equal Payments

Payments of the same amount over a specified period of time.

Related Questions