do-while is similar to a while loop and used when a set of statements have to be
repeatedly executed at least once untile a certain condition is reached. When we do
not know exactly how many time a set of statement have to be repeated do while
can be used.
Q.) W.A.P to print 1 to 5 using while loop.