Friday, 17 July 2015

Write a Java Program to Find Compound Interest Java Program Material of MCA,BCA,B.E

Write a Java Program to Find Compound Interest

class prog4
{   
    public static void main(String args[])
    {   
        int n=2,p=10000;
        float r=10,ci;
        ci=p*(1+(r/100));
        System.out.println("\n Compound Interest:"+ci);
    }
}

No comments:

Post a Comment