Negotiable Certificate Deposit (NCD) System

Written in the Prolog programming language using

Negotiable certificate of deposits (NCD) are money market products, usually with a minimum face value of $100,000 and 1 day to 2 year term. The underlying security is issued by a bank. The interest rate applicable on an NCD is determined on the deal date by reference to prevailing market interest rates and is fixed for the term of the investment.
An NCD entitles the person in possession of it to payment, by the issuing bank, of a specified sum of money (face value) on a particular date (maturity date).

Go ahead and query the Negotiable Certificate Deposit System
Your results will appear after the buttons below.

 



The Prolog Knowledge Base
Below is the prolog source code. Can you figure out how it works?




Use this button to update the knowledge base. i.e add a new line.

For example, add the line: list_ncd(au900, ['Fixed interest 1 year term at 1.5%', 100000, 1, 0.15]). OR has_ncd(steven, au300).

Lower case letters must be used and a full stop is required. These are prolog conventions.