#includevoid main(){int n,i;float a=1;scanf("%d",&n);for(i=1;i{ a=1/(a+1);}printf("%f",a);}n=11时,才输出0.618056。.