Code Review

Compare your solutions

    1. Non-controlled mess, not worth consideration
2. Always x = 10^6