Actually the condition of the problem:
"Create a program that will consider the function sin (x) with accuracy ε using the following form of expansion in a row. Compare the result with the value obtained by the standard function sin (x) 
The problem needs to be solved with the help of a cycle with an unknown number of repetitions. I can not understand what the "accuracy ε" and what to use as a condition in the case of while
upd
Yes, I wrote something, the problem is only with factorial, namely when compiling it writes "identifier not found"
int main() { int x; // Градус cin >> x; double e; // Точность cin >> e; double sinx = sin(x); // значение обычной функции sin(x) int calcx = x; // начальное значение функции разложенной в ряд int n = 0; // счётчик while (sinx - calcx > e) { n++; calcx += pow(-1,n)*(pow(x, 3) / faktorial(2 * n + 1)); } system("pause"); } int faktorial(int numb) { int result = 1; for (int i = 1; i <= numb; i++) result *= i; return result; }