C examples for Statement:while
Do while loop execute the loop body at least once
#include <stdio.h> int main()//from w w w . ja v a2 s . c o m { int x = 10; do { printf("This printf statement is executed at least once\n"); x++; } while ( x < 10 ); //end do while loop }