I have written code for the same but it's not working

I have written code for the problem as explained in the video but its only working column-wise please help me locate the bug here is the code:

at line no 24
for(int k=bj;k<=bj;k++){

correct one is

for(int k=j;k<=bj;k++){

if you want to ask something about this feel free to ask
i hope this helps
if yes show your response with :heart: and don’t forgot to mark doubt as resolved

1 Like