Exactly as stated in the subject. I look for grammar which use letters $a, b ,c$ that numbers of letters $c$ is greater than number of letters $b$.
Example: $acbccba$ is generated by the grammar.
I thought about:
$S \rightarrow aS \mid bS \mid SCS$
$ C \rightarrow cb \mid ca$
but not sure if it works. Could you help me, please.
1000
RP for this question, just wait for 5 mins.. $\endgroup$