complex for and while loop code in c code example Example: WHILE loop in c while( a < 20 ) { printf("value of a: %d\n", a); a++; }