include<stdio.h> main(){double s;FILE *fp;int i,j;fp =fopen("abc.txt","r"); // 文件名你自己改吧while(1){ fscanf(fp,"%lf",&s); // 读一行 if (feof(fp)) break; // 读到 EOF 文件结束 printf("%.4lf\n",s); // 输出4位小数};fclose(fp)...
include<stdio.h> main(){double s;FILE *fp;int i,j;fp =fopen("abc.txt","r"); // 文件名你自己改吧while(1){ fscanf(fp,"%lf",&s); // 读一行 if (feof(fp)) break; // 读到 EOF 文件结束 printf("%.4lf\n",s); // 输出4位小数};fclose(fp)...