The output I am getting is only the first row item for the first column. kindly let me know what the issue is and why the for loops are not working for this piece of code.