freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

[計(jì)算機(jī)]第3章1運(yùn)算符控制結(jié)構(gòu)(編輯修改稿)

2024-11-15 03:50 本頁(yè)面
 

【文章內(nèi)容簡(jiǎn)介】 re could be {a statement block}. ifelse語(yǔ)句 ifelse語(yǔ)句的格式是 : if (布爾表達(dá)式 ) 語(yǔ)句 1或語(yǔ)句塊 1 else 語(yǔ)句 2或語(yǔ)句塊 2 例如: if (grade60) (Passed!)。 else (Failed!)。 ifelse語(yǔ)句流程圖 grade = 60 true print “Failed” false print “Passed” 雙條件分支的 ifelse語(yǔ)句流程圖 條件運(yùn)算符 ( ? : ) ( cond ? express1 : express2 ) 例 1 (studentGrade = 60 ? Passed“ : Failed)。 例 2 if (a b) max = a。 else max = b。 max = ( a b ? a : b )。 嵌套 ifelse語(yǔ)句 ? if ( studentGrade = 90 ) ? ( A )。 ? else ? if ( studentGrade = 80 ) ? ( B )。 ? else ? if ( studentGrade = 70 ) ? ( C )。 ? else ? if ( studentGrade = 60 ) ? ( D )。 ? else ? ( F )。 注意事項(xiàng) 如果不用 “ { }” ,則 “ else”總是與最接
點(diǎn)擊復(fù)制文檔內(nèi)容
教學(xué)課件相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1