#include#include #define N 10 struct RQ { int nian; int yue; int ri; }; struct SP { int id; char name[10]; struct RQ r; float price; int num; }; void Shu(struct SP *s); int main() { FILE *fp; fp=fopen("sell.txt","r"); if(fp==NULL) { printf("文件打开失败!!n"); exit(0); } struct SP s[N]; int j; float av,sum=0,gs=0; for(j=0;j



