/* * Assignemnt1b.c * Chapter 2 * By: John Stile */ #include // include functions from stdio.h lib when compiling this code int main(void) // header for main { int yy; // declare intiger variable yy for( yy=2; yy<300; yy=yy+yy ) // start loop with yy=2, as long as yy is less than 300, loop, each time through, add yy to it self. { printf("yy is %d\n", yy); // print value stored in yy } return 0; // e return an exit value fo 0 to the caller program }