Само условие
y=sqrt(1+sqrt(3+sqrt(5+.....+sqrt(2n+1)))))
Я попробывал написать а он считает как то по левому((((
Мот кто поможет???
Вот код:
#pragma argsused
#include <math.h>
#include <conio.h>
#include <stdio.h>
int main(int argc, char* argv[])
{
int i,n;
double y;
printf("Input n\n");
scanf("%d", &n);
for (i=0;i<n;++i)
y=pow(2*i+1,0.5*i);
printf("y= %g",y);
getch();
return 0;
}