Display
/* Print B in an 8-by-8 grid. */
static void Display()
{
for (int r = lo; r <= hi; r++) {
for (int c = lo; c <= hi; c++)
System.out.print(B[r][c] + ” ”);
System.out.println();
}
}
Rule of Thumb. Develop your program using small procedures. Test it incrementally.
Previous slide
Next slide
Back to first slide
View graphic version