#include <stdio.h> main() { FILE *fp; long double x; fp = fopen("1.txt", "r"); fscanf(fp,"%Lf",&x); printf("%Lf\n", x); printf("%.4Lf\n", x); fscanf(fp,"%Lf",&x); printf("%lf\n", x); printf("%.4Lf\n", x); }
70,014
社区成员
243,263
社区内容
加载中
试试用AI创作助手写篇文章吧