A c program to add n numbers

OK, I agree it is too simple. But I really need to brush up my programming skill and anyway I enjoy programming. Or used to.
So just thought to brush up my programming skills, and if it weren’t for that error i posted about previously I got only a few logical errors which I was able to resolve immediately. Time taken to write this program – 1/2 hour. Good enough for touching C after over a year.

A C program to add n numbers which are input by the user and the input ends when the user enters a negative integer, ie any number less than 0. I haven’t added any error checking yet. Maybe I will get around to it.
(I really don’t know if I need this header on top but it has my name in it and will increase search engine rankings, so here it does.)

blast it, blogger doesn’t seem to allow the lesser than symbol. OK, here is the link to the page on my website.