public class Exercise12 {
public static void main(String[] args){
double t = ( 40 * 60 +35 )/120 +1 ;
double s = 24 * 1.6; double v = s / t;
System.out.println("平均速度值为"+v+"km/h");
}