public class investment {
public static void main(String args[]){
int i=0;
Scanner Pay = new Scanner(System.in);
System.out.print("how many years do u want to put in the money for? ");
int years = Pay.nextInt();
Scanner Py = new Scanner(System.in);
System.out.print("how much do u want to invest? ");
double money = Py.nextDouble();
while (i<=years){
i++;
double pr=.10;
double finall=(money*pr)+money;
System.out.print(finall);
}
}
}
これが正当な番号ではなく IP アドレスを出力するのはなぜですか?