A.if(x%2!=0)x=0;elsex=; B.if(x%2)x=1;elsex=0 C.if(x%2==0)x=1;elsex=0 D.if(x%2==1)x=0;elsex=1
以下程序的運(yùn)行結(jié)果是()
A.-1 B.3 C.1 D.5
以下程序段運(yùn)行時(shí),若從鍵盤輸入10,則輸出結(jié)果是()
A.2 B.11 C.3 D.12