Answers for "how to take out interest of any number"

0

how to take out interest of any number

public class interest
{
    public static void main(String args[])
    {
        int p=9000,r=10,t=2;
        float amt;
        amt=((p*r*t)/100);
        System.out.print("The rate of interest is Rs ="+amt);//

    }
}
Posted by: Guest on October-20-2021

Code answers related to "how to take out interest of any number"

Browse Popular Code Answers by Language