Program to print table by While loop.