📜  solutionadda - C 编程语言代码示例

📅  最后修改于: 2022-03-11 15:04:37.044000             🧑  作者: Mango

代码示例1
#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;
       }