Project question

KatBME:
I'm not entirely sure what you mean by "switch inputs floating".

This means the Arduino pin connected to the switch is not connected to GND or 5v when the switch is in one position. In that situation digitalRead() can give unpredictable results. The simplest solution is to use pinMode(pin, INPUT_PULLUP) which connects the pin internally to 5v through a resistor and then use your switch to pull the pin to GND when pressed.

...R