How to combine program?? can someone help me with it

Read it again.

I'll second that.

The statement says "starting with y equal to turn, while y is less than or equal to turn, do some stuff, then increment y, and check again.". Suppose turn is 8. The loop index starts at 8, and the loop is executed over and over, with y incrementing by 1 each time, while y is less than or equal to 8. So, y is set to 8, and the loop body executes. Then, y is incremented to 9. It is no longer less than or equal to 8, so the loop body is skipped.

So, I'll ask again, how many times is that loop executed? Keep trying until you come up with the correct answer of once. Then, explain why you need a for loop to do something once.