if ... else的簡寫如下variable = (condition) ? statment1 : statment2 condition 是條件式statement1 是當條件成立時 ... if( a > b ) { c = 1; }
確定! 回上一頁