I\'ve been watching the Stanford CS193P lectures and I\'ve been working on the assignment calculator. I got through the first assignment fairly easily, and I\'m trying to do the
Did you perhaps mean operand = sin(operand * M_PI / 180);?
operand = sin(operand * M_PI / 180);