Split into three separate programs, one being the case of simple interest.