Practice ยท 3 of 3
Diagonal Sum
Implement int diag_sum(const int g[][3]) returning g[0][0] + g[1][1] + g[2][2].
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: Grid Exercises
Practice ยท 3 of 3
Implement int diag_sum(const int g[][3]) returning g[0][0] + g[1][1] + g[2][2].
Difficulty: beginner
Back to lesson: Practice: Grid Exercises