Convert C into Arduino Uno 3

do you just want us to write the code for you?

Your answer seems "yes", but I think you did not get the rhetorical nature of Nick's comment.
(I fear it was not meant to be a yes/no question with free choice of answer)

Well, do you see a problem here?

If "no" is the answer to this question, even after AWOL's hint, you should explain why you need to overload volunteers trying to help you.
( "I'm not a programmer" is no valid excuse, rather a reason to not deal with a µC )