only first loop is executing

hello im facing problem with my program is that in program i have putted some condition but only first loop is executing. please help me on this.
i have attached my program.

test_1.ino (10.9 KB)

Can you please describe the problem in more detail.

How are the switches wired ?

Hi, Welcome to the forum.

Please read the first post in any forum entitled how to use this forum.,148850.0.html then look down to item #7 about how to post your code. It will be formatted in a scrolling window that makes it easier to read.

Thanks.. Tom.. :)

You have a huge amount of repetitive code in your program. You could probably do all that in a quarter of the space and a lot less chance of typing errors.

Have a look at Planning and Implementing a Program. Also note how it does not use delay() for the timing.