登 录
函数
function Is_odd(num) as booleann=num mod 2if n=1 thenIs_odd=trueelseIs_odd=falseend ifend function是奇数返回真,是偶数返回假。
抱歉!评论已关闭.