Int main (void)
{
float a = 2.0;
float c = 3.0;
float sum = 1.0;
float b = 2.0;
float bp = 1.0;
float temp;
float z;
while( 1 )
{
z = a / (b * c);
if( abs(z) < 0.001 ) { break; }
sum += z;
a += 2.0;
c*= 3.0;
temp = b;
b = b + bp;
bp = temp;
}
printf("%.3f\n", sum);
return 0;
}