怎么可以不使用循环实现啊````
Assume a bank account begins with a balance of $100 and earns interest at an annual rate of 5%. The interest is computed at the end of each year using the following formula:newBalance = previousBalance * (1 + interestRate)
Write a Java program named ComputeInterest.java to compute and display this account balance at the end of each year for a five-year period. Do not use loops