I'm trying to calculate sin(x) without using Math.sin(x). The formula for sin(x) is: x - x^3/3! + x^5/5! ...
I can't seem to get the coding for the alternating +/- right. Here's my program:
...