Need Help with programming this code

not sure what you mean by that.

You should post code by using code-tags
There is an automatic function for doing this in the Arduino-IDE
just three steps

  1. press Ctrl-T for autoformatting your code
  2. do a rightclick with the mouse and choose "copy for forum"
  3. paste clipboard into write-window of a posting

you should be able to the steps described above

To say it very clear: There are some pre-requisites you as a new user must fullfill to get detailed help

And I guess you are able to read this article

Of course you can go on whining and beggin "please can somebody help" . Though this will take days with just repeated answers of
How to get the best out of this forum.

best regards Stefan