made changes to fix several errors

made c a string so it could concatenate with the print statement. also imported the math function.