Question 1 #include using namespace std; int main() { int number[4][4] = {{0, 1, 2, 3}, {4, 5, 6, 7}, {8, 9, 10, 11}, {12, 13, 14, 15}}; int row, col; while (1) { // enter row number with validation // enter col number with validation // print out content } return 0; } Question 2 #include using namespace std; int main(){ int t1[4][4], t2[4][4], t3[4][4]; int i, j; // enter the data in the first table row by row (hint: use nested loop) // for each row // print "Enter the row ......." // for each cell in the row // use scanf to input the data 1 by 1 // enter the data in the second table row by row (hint: use nested loop) // use nested loop to add the number in each cell and store the result in table 3 // e.g. t3[0][0] = t1[0][0] + t2[0][0] <-- don't write 16 statements! use nest loop instead! // use nested loop to output the result in table 3 return 0; } Question 3 #include using namespace std; int main() { char c[4][4] = {{'a', 'b', 'c', 'd'}, {'e', 'f', 'g', 'h'}, {'i', 'j', 'k', 'l'}, {'m', 'n', 'o', 'p'}}; int i, j, choice, x, y, temp; while (1) { // use nested loop to print out the data in array c // as if user want to swap row or col (with validation) // if choice = 1 // ask user to input row numbers x & y for swapping // else // ask user to enter the col number x & y for swapping // remember to validate the row or col number! // if choice == 1 <-- swap row // for each cell in a row // swap the data in row x and row y // else // for each cell in a col // swap the data in col x and col y } return 0; } Question 4 // initialise game board (what do you need to initialise? // - place the bomb randomly (make sure you place 6 bombs in different cells! // - set other cells to '-' // while the game not ended yet //print board (remember not to print out the hidden bombs! (if the cell contain 'b', print '-' instead // input row and column (validate!) // check input (what do you need to check? // - if the uncovered cell has a bomb --> player lose the game! // - else, count how many bombs are there in the surrounding