home
Learn
screen_rotation
#include <stdio.h> #include <conio.h> void main(){ int i; clrscr(); printf("\n This is a do-while loop statement program."); i=1; do{ printf("\n %d HELLO WORLD",i); i++; /* you can write like this i= i + 1; */ } while(i>10); getch(); }
Program Output
This is a do-while loop statement program. 1 HELLO WORLD