#include <stdio.h> int main(){ int n; n=1; while(n <= 3){ printf("%d from 'while' code-section \n", n); n = n + 1; } n=1; begin_loop: if(n>3) goto exit_loop; printf("%d from 'if-goto' code-section \n", n); n = n + 1; goto begin_loop; exit_loop: // additionally: the for statement for(n=1; n<=3; n++) printf("%d from 'for' code-section \n", n); }