Olga Sukharenko
Помогите исправить ошибку в программе (C++).
При прогонке не распознает n
#include "stdafx.h"
#include
#include
using namespace std;
int main(){
setlocale(LC_ALL, "Russian");
const int Maxlter = 500;
double x, eps;
cout > x >> eps;
bool done = true;
double ch = 1, y = ch;
for (int n = 0; fabs(ch) > eps; n++) {
ch *= x*x*(2*n-1)/(2*n+1);
y += ch;
if (n > Maxlter){
cout