Two-Dimensional Arrays
Exercises
- Check whether an integer is a palindrome.
- Count positive, negative, and zero elements in a 2D array.
- Add two matrices of user-provided compatible dimensions.
- Multiply two matrices when their dimensions are compatible.
Concepts practiced
2D arrays, nested loops, and matrix dimension checks.
Click here for explanation and solution.