[c] LCTHW: Exercise 6