Continue statement in while loop

#include <stdio.h> int main() { int counter=10; while (counter >=0) { if (counter==7) { counter--; continue; } printf("%d ", counter); counter--; } return 0; }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.