void lx03() {
// 3.輸入一個三位整數(shù)栖疑,判其是不是降序數(shù)如:531是降序數(shù) 百位>十位>個位
System.out.println("請輸入一個三位數(shù)");
Scanner num = new Scanner(System.in);
int a = num.nextInt();
/*
int c = a / 100;
int b = (a / 10) % 10;
int d = (a % 100) % 10;
System.out.println(c);
System.out.println(b);
System.out.println(d);
*/
if (a / 100 > ((a / 10) % 10) && ((a / 10) % 10) > (a % 100) % 10) {
System.out.println("這是一個降序數(shù)");
} else {
System.out.println("這不是降序數(shù)");
}
}