Got information displayed in the columns using nested while loops.