#include <stdio.h> int main(){ int x=0; for(;;) { x++; if(x<=5) { printf("%d, ",x); continue; } printf("%d is greater than 5!\n",x); break; } return(0); }
1, 2, 3, 4, 5, 6 is greater than 5!