Solved Rewrite The Following Algorithm Using While

Solved Rewrite The Following Algorithm Using While