看板
[ TransCSI ]
討論串[問題] 元智91年的轉學考考古題
共 8 篇文章
內容預覽:
1. Consider the following procedure.If the argument n is 5,what will the. procedure return?. procedure SUM(n:integer). {if n=1. return(0). else. retur
(還有485個字)
內容預覽:
SUM5=SUM4+5*4. SUM4=SUM3+4*3. SUM3=SUM2+3*2. SUM2=SUM1+2*1. SUM1=0. 所以應該會RETURN 20+12+6+2=40吧?. 我是算這樣耶 不知道對不對. x⊕y=xy'+x'y. =x(1-y)+(1-x)y. =x-xy+y-xy
(還有73個字)
內容預覽:
1. Consider the following procedure.If the argument n is 5,what will the. procedure return?. procedure SUM(n:integer). {if n=1. return(0). else. retur
(還有212個字)