编程题:
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int speed = scanner.nextInt();
String result = speed > 60 ? "Speeding" : "OK";
System.out.println("Speed: " + speed + " - " + result);
}
}
浙公网安备 33010602011771号