if(startRow == endRow){ // This is the edge condtion when No. of Row is less than No. of Column at that time IT AVOIDS THE DUPLICATE PRINT OF ROW AGAIN WHEN startRow ...