Assignment 2 js basic

I have completed 1st assignment and in 2 nd assignment i have done code program with do while, for in, for of and but while and for our put not coming can u guide me
Thanks