Next time you can be more specific about what exactly isn't working. The only thing I would change to the code is to add return answer at the end of your volume function and the surface_area function. Just saying, at line 30 and 34 you check for a capital letter.
Adding a return value for the two functions will not solve the problem even though it should not compile for that reason. Since the answer is being printed in the functions, just make then void. There is no reason to return anything as they are written.
Checking for only capital letters is the real problem. Without doing error checking on input, it only makes sense to use lowercase letters as the argument since most people will not use shift or have caps lock on.