> <FONT face=Arial color=black>Q: what is the output of the following? ; q5 }, }5 _/ v: x" k& S3 D% H0 d
><FONT face=Arial color=black>' g3 U" D+ c8 a
>确实是1,2,3,你应该实际运行一下就知道了!注意++和<=的优先级!</P>
>但是当n=3时,++n==4不符合条件了啊</P>[em09]
>应该注意 do while循环和while的区别!!!</P>
>do while 是先运算然后判断条件~!与while的区别往往很容易迷惑人。</P>
| 欢迎光临 数学建模社区-数学中国 (http://www.madio.net/) | Powered by Discuz! X2.5 |