Here one can find the solution for exercise 2. a .c source file for the first exercise can be found here a .pdf file for the answers can be found here