#define _USE_MATH_DEFINES
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <iostream>
int main()
{
setlocale(LC_ALL, "Rus");
float x = M_PI / 4, y,a;
while ( x <= -M_PI);
{
if (x <= a)
y = (a + exp(x)) / (cos(x) + pow(x, 2) + a);
else
y = a * x + sqrt(fabs(x));
printf_s("Значение 'y' :% lf\t | Значение 'y' :% lf\n", x, y);
x = x += M_PI / 3;
}
return 0;
}