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);
}
}
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