This is a JS program showing the use of looping statements