/** * 需求:计算出速度 * 思路:总路程/总时间 * * 步骤:略 */ public class Demo_1{ public static void main(String[] args) { double V; V=(1.6*24)/(1+40/60+35/3600); System.out.println("The runner speed is" + V + "km/h" ); } }