首页上一页 1 下一页尾页 2 条记录 1/1页
请老师看看哪里不对
发表在Java编程词典答疑
2018-09-05 悬赏:1 学分
是否精华
是
否
版块置顶:
是
否
import java.util Scanner;
public class test208{
public static void main(string[] args){
int money,year;
double interest,rate;
Scanner in = new Scanner(System.in);
Money = in.nextlnt();
year = in.nextlnt();
rate = in.nextlnt();
interest = money * math. pow(1+rate), year) - money ;
System. out interest = “(int)(interset * 100 + 0.5)/100.0);
}
}
public class test208{
public static void main(string[] args){
int money,year;
double interest,rate;
Scanner in = new Scanner(System.in);
Money = in.nextlnt();
year = in.nextlnt();
rate = in.nextlnt();
interest = money * math. pow(1+rate), year) - money ;
System. out interest = “(int)(interset * 100 + 0.5)/100.0);
}
}