public static void statS1() {
		Scanner input = new Scanner(System.in);
		double a = 0, b = 0, c = 0;
		double max = 0, min = 0;

		System.out.println("輸入三個實數 a, b, c");
		System.out.print("a > ");
		a = input.hasNext() ? input.nextDouble() : 0;
		System.out.print("b > ");
		b = input.hasNext() ? input.nextDouble() : 0;
		System.out.print("c > ");
		c = input.hasNext() ? input.nextDouble() : 0;

		max = a > b ? a > c ? a : c : b > c ? b : c;
		min = a < b ? a < c ? a : c : b < c ? b : c;

		System.out.println("max = " + max);
		System.out.println("min = " + min);
	}