0% found this document useful (0 votes)
34 views1 page

2d Array

The document provides instructions for a final exam exercise to initialize a 2D 8x8 array for a board game with alternating 0s and 1s using nested loops, and informs the reader to email the instructor if they want the answer.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
0% found this document useful (0 votes)
34 views1 page

2d Array

The document provides instructions for a final exam exercise to initialize a 2D 8x8 array for a board game with alternating 0s and 1s using nested loops, and informs the reader to email the instructor if they want the answer.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 1

FINAL EXAM EXERCISE

Please email to me (pelabwork@gmail.com) if you want the


answer.

1) Consider a two-dimensional 8 x 8 array for a board game:


int board [8][8];
Using nested loops, initialize the board so that 0 and 1 are alternately
assigned, as per Figure 1.

Figure 1

You might also like