Dev 1.0

minimize use of magic number. In your loop you have used 9, as a reader of the code i didn't know what does the value of 9 denotes. You could define it as a header constant or in constant variable so that its easier to read.

#define <Name that describes the value> 9    or int const <Name that describes the value> = 9