for (int i=0; s[i]; i++); if (s[i] >= 'A' && s[i] <= 'Z'); cout << (char)(s[i] ... 對應到程式語言的for加if。 ... 多層判斷式,亦得拆解成一層一層的判斷式。
確定! 回上一頁