[HomeWork1.c] 7 problems solved