public class my{
public static void main(String[] args){
int a=
35+
100*
60;
/*将跑步时间转化为秒*/
double b=
2.0*
1.6;
/*将跑步路程转化为公里*/
System.
out.println(
"平均速度:"+ a/
3600/b +
"时/公里");
}
}
转载于:https://www.cnblogs.com/speater/p/7542680.html
转载请注明原文地址: https://win8.8miu.com/read-18107.html