} cout<<"[Number of production]\n"; break; case 2: cout<<"[Productions]\n"; break; case 3: } cout<<"[Regular Expression]"<<endl;; break;
int main() {
ConsoleOutput(0); grammar grm; string str; intnofp; ConsoleOutput(1); cin>>nofp; ConsoleOutput(2); while(nofp--)