📅  最后修改于: 2022-03-11 15:04:37.044000             🧑  作者: Mango
#include
int main () {
float sum = 0.0, j = 1.0, i = 2.0;
while (i/j > 0.0625) {
j = j + j;
sum = sum + i/j;
printf ("%f \n", sum);
}
return 0;
}