How to get arithmetic operator as user input

I am trying to get the arithmetic operator from user at run time.
Kindly assist