C language how to program solutions