正在加载图片...
Syntax for the do-while statement do <statement> while( <boolean expression>)i do sum + number Statement number++i (loop body) 1 while sum<=1000000: 。 o0000000000000000000000000· Boolean Expression C 2000 McGraw-Hill Introduction to Object-Oriented Programming with Java--Wu Chapter 7-14© 2000 McGraw-Hill Introduction to Object-Oriented Programming with Java--Wu Chapter 7 - 14 do { sum += number; number++; } while ( sum <= 1000000 ); Syntax for the do-while Statement do <statement> while ( <boolean expression> ) ; Statement (loop body) Boolean Expression
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有