Hey, I posted earlier about arbitrary expressions and I did find solution to that. The question is how do I create random expressions? So far I've created codes to generate random operators and random numbers, how will I generate random expressions?

E.g. a1,a2,a3 are variables for random numbers I've assigned int r to generate random operators using switch statements.

How do I put this theory onto code exactly?

Thanks