I think it is a better way to put epsilon to the variable of the accepting state. Otherwise you have to take into account all incoming references from other variables. Because of this you made a mistake and the grammar cannot generate a single "0", that is recognized by the DFA. Just take the 0 out of the variable C, and add an epsilon in the state B. Otherwise ur golden.
I think it is a better way to put epsilon to the variable of the accepting state. Otherwise you have to take into account all incoming references from other variables. Because of this you made a mistake and the grammar cannot generate a single "0", that is recognized by the DFA. Just take the 0 out of the variable C, and add an epsilon in the state B. Otherwise ur golden.