#include <stdio.h> double a(int n) { double i; if (n==10) i = 1; else i = a(n+1)/2; return(i); } void main() { printf("%lf\n",a(1)); }