no, a strcmp() of "I 6" and "I" won't work since they don't match. Consider comparing 'c' to I, such that
Code:
if(c == 'I')
{
    /* blah */
Also add some error checking to sscanf(), Hint: It returns the amount of 'parameters' it was able to read.