📜  如何取出任何数字的兴趣 - Html 代码示例

📅  最后修改于: 2022-03-11 14:52:54.507000             🧑  作者: Mango

代码示例1
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);//

    }
}