Create ex9.c
Merge pull request #7 from CarlosDSTavares/patch-5

Create ex9.c