arduino mega 2560 not working properly

Thanks for the reply i got your point.