private static Scanner sc;private static List<Integer> edge = new ArrayList<Integer>();public static void main(String[] args){System.out.println("请输入三角形的三条边");sc = new Scanner(System.in);input();}public static void input() {while (edge.size() < 3){if (sc.hasN...