Hey amigos!

I wanted to ask if someone can explain to me how the "Switch" Command works, and if it might be the solution to my problem:

I got a 2d array. Every 2nd row has operand=getchar();

In it, the getchar returns the value of +,-,/,*

I want to make it able to do calculations with them.... like:

array [0][0]array[1][0]array[2][0], where array[1][0] is the operand that it contains...

Any suggestions?