public class AverageSpeed{
public static void main(String[]args){
double speedkm =60/(45.5/14);
double speedm = speedkm /1.6;
system.out.println(“averagespeed = ”+speedm + "m/h")
}
public class AverageSpeed{
public static void main(String[]args){
double speedkm =60/(45.5/14);
double speedm = speedkm /1.6;
system.out.println(“averagespeed = ”+speedm + "m/h")
}