我改成这样了,要变换数据类型是吗?
还是没得结果哦
BufferedReader in= new BufferedReader(new InputStreamReader(System.in));
x=Double.parseDouble(in.readLine());
y=Double.parseDouble(in.readLine());
z=Double.parseDouble(in.readLine());
还是没得结果哦
BufferedReader in= new BufferedReader(new InputStreamReader(System.in));
x=Double.parseDouble(in.readLine());
y=Double.parseDouble(in.readLine());
z=Double.parseDouble(in.readLine());