2

it2022-05-05  100

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


最新回复(0)