For loop&While loop and Array

Explaining For and While Loop and Array