Pa
Pavel
Помогите определить ошибку в програмке на СИ
#include "stdafx.h"
#include "stdafx.h"
#include
#include
#define _USE_MATH_DEFINES
#include
#define X 1.426
#define Y -1.220
int _tmain(int argc, _TCHAR* argv[])
{
double a;
a=(2*cos(X-M_PI/6)/(sqrt(0.5+(sin(Y)))));
printf("a= %f", a);
getch();
return 0;
}
Программа выдает некорретный ответ