Loops through the statements enclosed within theĀ { code block } until the test expression is false:
while (test expression) {
statements ;
}
#include <stdio.h> int main( ) { int i = 1; while(i < 5) { printf("The value of i is now: %dn",i) ; i++ ; } return 0; }