# include < stdio.h >
main ( )
{
float total 0.0, q = 1.0, p = 2.0;
while (p/q> 0.001)
{
q = q + q ;
total = total + p/q ;
print f (“% f\n”, total) ;
}
}
Which one of the following is the integer that best approximates the last number printed ?
(A) 0
(B) 1
(C) 2
(D) 3