0
$\begingroup$

This question already has an answer here:

I look for grammar which use letters $a,b,c$ that numbers of letters $c$ is greater than number of letters $b$.

Example: $acbccba$

I thought about:

$$S \rightarrow aS \mid bS \mid SCS$$ $$C \rightarrow cb \mid ca$$

but not sure if it work. Could you help me, please.

$\endgroup$

merged by Gilles May 21 '13 at 18:34

This question was merged with Grammar that numbers of letters `c` is greater than number of letters `b` because it is an exact duplicate of that question.

Browse other questions tagged or ask your own question.