Opening the reading…
Opening the reading…
PROGRAMMING FUNDAMENTALS › C++ FUNDAMENTALS
This is a scratch drill — your code runs, nothing is graded or recorded. No test cases, no expected output, no verdict.
TASK
Declare the equivalent 2 by 3 marks array. Use nested loops to print its two rows, change marks[1][2] from 3 to 8, and compute and print the total of all six elements after the change.
OUTPUT
Sample4 2 7 1 5 3 27
What a finished answer prints, from the lesson. Nothing has run yet — press Run and this is replaced by your program’s own output.