ejercice number 11 of c/solutions