#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "GrWin.h"

/* for による二重ループ */

int main()
{
  float x, y;
  int xx, yy;

  GWopen(0);
  GWindow(0.0, 0.0, 200.0, 200.0);

  y=20.0; /* 最初の下端の位置 */
  for(yy=1; yy<=8; yy++) {
    x=10.0; /* 左端の位置 */
    for(xx=1; xx<=8; xx++) { 
      GWsrect(x, y, x+10.0, y+10.0, 2);
      x=x+20.0;
    };
    y=y+20.0;
  };

  return 0;
}

