Can Anybody help me out, in converting my code to iterative method.

Printable View