/* forLoopQuiz3b.c  P. Conrad Fall 2005 CISC105 */
/* The following program is NOT REALLY VERY GOOD STYLE
    but it does show something about how for loops
    work.. and it shows that the three part of a for loop:

  for (init ; test; increment)

  all are "OPTIONAL!!!"

  the following is a perfectly valid for loop
  at least in terms of syntax:

  
  for ( ; ; ) 
  {


  }
*/

#include <stdio.h>
int main(void)
{
  int i,j;
  
  j=4; 

  for (i=3; i<6; i++)
    {
      for(   ; j<=7; j++)
	printf("j=%d ",j);
      printf("\n");
    }
  

  return 0;
}

