cccccc

别卷了留口饭吃 发表于 1年前 · 关联问题 国王的许诺

include <stdio.h>

include <math.h>

int main() {double a=1;

double sum=0.0; double v; int i=1; while(i<=64){ sum+=a; a*=2; i++; } v=sum/142000000; printf("%f\n",sum); printf("%f",v);

}