How to program c