0

Hello all,

I'm fairly inexperienced at C# and I am currently working on a project that requires me to generate two random numbers, then apply a random mathematical operator (+,-,*,/). I'm currently struggling on how I would do this. So far I have worked out how to generate two random numbers (not too difficult) but i've looked everywhere on how to apply a random maths operator to it.

I was thinking perhaps storing the operators in an array, and applying it to the numbers that way, again using a randomize feature. Am i pointing myself in the right direction?

Thanks in advance.