/* index1 = 45 index2 = 36 index3 = 231 index4 = 43 index5 = 100 index6 = 123 index7 = 51 * * 通过读取读取c.txt文件内容中等号右值,并将右值最大值,最小值和平均值打印到屏幕。 */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> //删除' ' void removeenter(char * str) { if (str == NULL) { printf("传入参数不可以为空! "); return; } char * temp = str; while (*temp) { if (*temp == ' ') { *temp = '