用法 :number.even? 參數:該函數采用要檢查是否為偶數的整數。 返回值:該函數返回一個布爾值,該值確定該值是否為偶數。 範例1:. # Ruby program of Integer even?
確定! 回上一頁