0% found this document useful (0 votes)
46 views

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
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views

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
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
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

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy