Solved Rewrite The Following Code Using A While Loop Instead

Solved Rewrite The Following Code Using A While Loop Instead