Ganesh Prasad
Jan 8, 2022

--

Its giving the correct output:

0 0 0 0

0 4 5 0

0 3 1 0

Did you change i and j to go till 3 and 4 (size of matrix) respectively.

--

--

Ganesh Prasad
Ganesh Prasad

Written by Ganesh Prasad

Backend Developer at Appscrip | C++ veteran, 💜 Dart

No responses yet