In this video, i have taught how to print hollow pattern in rectangle and square pattern. I have explained diagrammatically how the code is working in excel sheet.