Wrote a program to calculate simple interest