結果 : algorithm for simple interest