for loop how to use method in loop

public class Formain { public static void main(String [] args ){ System.out.println(“10.000 at 2% interest =” + calculateInerest(10000.0,2.0)); System.out.println(“10.000 at 3% interest =” + calculateInerest(10000.0,3.0)); System.out.println(“10.000 at 4% interest =” + calculateInerest(10000.0,4.0)); System.out.println(“10.000 at 5%

Read more

java for loop

public class Formain { public static void main(String [] args ){ System.out.println(“10.000 at 2% interest =” + calculateInerest(10000.0,2.0)); System.out.println(“10.000 at 3% interest =” + calculateInerest(10000.0,3.0)); System.out.println(“10.000 at 4% interest =” + calculateInerest(10000.0,4.0)); System.out.println(“10.000 at 5%

Read more