Program to calculate interest.