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

mian91:
i tried it combine but it only works 1 step by 1 step i dunno how to do the loop together

Did it compile OK?