Scanner console = new Scanner(System.in);
int speedInKilometersPerHour = console.nextInt();
int speedInMetersPerSecond = console.nextInt();
double x = 3.6;
int (result) = (int) Math.round() * (3.6);
System.out.println(result);
}
}
package com.javarush.task.pro.task04.task0417;
import java.util.Scanner;
/*
Скорость ветра
*/
public class Solution {
public static void main(String[] args) {
Scanner console = new Scanner(System.in);
int speedInKilometersPerHour = console.nextInt();
int speedInMetersPerSecond = console.nextInt();
double x = 3.6;
int (result) = (int) Math.round() * (3.6);
System.out.println(result);
}
}