Answer to Question #240619 in C++ for jersonjangerona

Question #240619

Prepare a c++ program

 board[4][3] = { {2,3,1},{15,25,13},{20,4,7},{11,18,14}};

              

                                    


1
Expert's answer
2021-09-22T23:43:29-0400


#include <iostream>


using namespace std;


int main()
{
    int board[4][3] = { {2,3,1},{15,25,13},{20,4,7},{11,18,14}};
    for(int i=0;i<4;i++){
        for(int j=0;j<3;j++){
            cout<<"Board["<<i<<"]"<<"["<<j<<"] = "<<board[i][j]<<"\n";
        }
    }
    return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS