Vision IAS interview question

Shell scripting basic while, for loops