Calculate the code of investment income

xiaoxiao2021-04-03  253

Some people say that every year is dollyled, how many years will become rich. Write a small procedure to verify. How many years can you see the bottom to invest? Oh, you can become a rich. Huh,

Public class income {

/ ** * @Param args * / public static void main (string [] args) {income INCOME = new income (); //income.getIncome (10000, 10, 0.02); income.GetIncomeBytimedeposit (10000, 10, 0.1 } / ** * Calculate annual benefits * @Param Corpus this gold * @Param Year of the year * @Param Interestrate yield * @return total income * / public double getIncome (Double Corpus, int year, double intertRate) {for INT i = 0; i 转载请注明原文地址:https://www.9cbs.com/read-131458.html


New Post(0)