Please help some basic switch code not working?

Can i pay you to fix the code?