Infosys interview question

Program to print the webtable