Help me in solving CLB011 problem

My issue

rearrange this code

Learning course: Learn C Programming
Problem Link: Rearrange Code in C Programming