I don't know why I write wrong code :( it requires to draw an n x m rectangle of eight. i write a code (drawLine) to draw top and bot of rectangle. i write a code (drawSpace) to draw left and right of rectangle. and a code (rectangle) to draw completely rectangle. My code run ok. i try 2x4 , 3x5 , 9x9 it show correct nxm of rectangle but "The program should display a n x m rectangle made of eights." still show is not correct ? sorry, I'm not good English.