Enter function using keypad

If it helps, I attempted this

char hashtagKey = (key == #);

or something similar to that