Write a Java Program to Find Simple Interest
class prog3
{
public static void main(String args[])
{
int n=2,p=10000;
float r=10,si;
si=(p*r*n)/100;
System.out.println("\n Simple Interest:"+si);
}
}
class prog3
{
public static void main(String args[])
{
int n=2,p=10000;
float r=10,si;
si=(p*r*n)/100;
System.out.println("\n Simple Interest:"+si);
}
}
No comments:
Post a Comment