single input shell script?

hey, i'm trying to write a shell script which accepts:

operand operator operand

then, the script would see which operator it is (using case) and calculate it...

but i dont know how to do it correctly with $1 $2 $3... (eliminating accepting separate inputs)

You were warned about homework questions in this thread.