Let's Make Robots!

ATMEL programming

please help me with the logic of this program.
i have problems analyzing the commands and different variables.

this is a project called the room light controller with person counter. the uC used was ATMEL AT89S52

i badly need help. please



******program starts here*******

design project

i have a project called "room light controller with person counter"
im using Atmel microcontroller. i dont really have idea/s how to start.
can anybod help me?