希望对你有所帮助import java.util.Scanner;public class TestUtils { public static void main(String[] args) { System.out.println("请输入一个三位整数"); Scanner scanner = new Scanner(System.in); int p = scanner.nextInt(); String s= String.valueOf(p) ; if(...