Program to calculate simple interest.