sterretje:
An Arduino sketch has two required functions, setup() and loop(). Even if these functions are empty, they are required (e.g. the bare minimum example)
thanks you all who help me out solving this problem
i have all done with help provided by all the community members
thanks @AWOL @Sterretje @horace
yes it works well
but a problem is produced
i am using this code in proteus designed circuit and when i made the input of any sensor high the motor stop working and lcd shows that motor is off but when i made the sensor value low it will not turn on the motor