Homework. C programming language