5.19 Using the series

sin (x) = x - x3 / 3! + x5 / 5! - x7 / 7! + ...

calculate the sine x to n terms. The GUI should consist of two TextBoxes, three Labels and a button. One TextBox should allow the user to input the value of x in radians (2π radians in a circle). The second TextBox should allow the user to input the number of terms n. The larger the term, the more accurate the value. Display the results in a Label. The other two Labels should be used as prompts. The calculation should be performed and displayed when the button is pressed.

(Question taken from: "Visual Basic 6: How to Program" by Deitel & Deitel T. R. Nieto)