im trying to send it a string and have it return a number back using the switch statement but since the integer is non constant then it gives me an error
edit i just figured out my problem the switch statement only works on integers and i was trying to use it on a string will just use the if statement then