i am ruuning into an infinite loop when i place the decrement statement at the bottom of code. but the code works fine when i place it in the starting of do while loop.. pl