Back To C Loops Index
//program to demonstrate do while statement example to print numbers 1 to 10 #include
#include
void main() { int i=1; clrscr(); do { printf("%d\n",i); i++; }while(i<=10); getch(); }