tag:blogger.com,1999:blog-4391503104489914248.post8607242123108230829..comments2023-09-20T03:54:25.817-07:00Comments on The Computer Society: Using ContinueJeremehttp://www.blogger.com/profile/09026969216684193029noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-4391503104489914248.post-57210802514233432842009-11-19T20:42:38.109-08:002009-11-19T20:42:38.109-08:00yes,,, although most programmers often neglect the...yes,,, although most programmers often neglect the use of continueJeremehttps://www.blogger.com/profile/09026969216684193029noreply@blogger.comtag:blogger.com,1999:blog-4391503104489914248.post-90724902841506477832009-11-19T05:17:45.747-08:002009-11-19T05:17:45.747-08:00The continue statement works similar to the break ...The continue statement works similar to the break statement. Instead of forcing termination, the continue statement forces the next iteration of the loop to take place skipping any code in between.magnesiumhttp://www.vitabits.co.uk/multivitaminsnoreply@blogger.comtag:blogger.com,1999:blog-4391503104489914248.post-4660221857236426422009-11-17T07:46:40.077-08:002009-11-17T07:46:40.077-08:00actually, in C/C++... you can write the code this ...actually, in C/C++... you can write the code this way<br /><br />for(int num = 0;num <= 10; num++){<br /> if (num % 2)<br /> continue;<br /> printf("%d ", num);<br />}<br /><br />since (num % 2) returns a non-zero valueJeremehttps://www.blogger.com/profile/09026969216684193029noreply@blogger.com