• Its possible to loop inside a loop.
  • Useful to handle two dimentional data structures.
  • Draw matrix of points.
  • int no_of_rows = 5;
    int no_of_cols = 7;
    int startX=10;
    int startY=10;
    for(int row=0; row < no_of_rows; row++){
    	//for each row draw a column
    	for(int col=0; col < no_of_cols; col++){
    		point(row*startX,col*startX);
    	}
    }