Create ex6.c
Merge pull request #5 from CarlosDSTavares/patch-4

Create ex6.c