Can the EV3 software program switch block take inputs?
Yes, it is possible to connect data wires from outside switch blocks and loop block to inside of them. Note: Switch blocks must be switched to the tabbed view by clicking on the  icon. Then just drag the output data wire from the math block to the input of the steering block the same as if the switch block was not there.