printf("\n\n\tPress any key to continue......");Р getch();Р puts("\n\n");Р printf("%-5s%-8s%-8s%-11s%-10s%-8s%-8s%-12s%-8s\n","nun","name","sex ","birthday","education","duty","wage","address","phone");Р }Р }Р fclose(fp);Р Р printf("\n\n\tThere are %d record in all!",total);Р getch();Р Р menu();Р}Р Рvoid search() /* 信息查询函数*/Р{Р int amount; /* 信息文件中的记录总数*/Р int con=0; /* 已处理的文件记录总数*/Р struct Info info;Р FILE * fp;Р int flag=-1, flag1=-1; /* flag为1按工资查询,flag为2按学历查询;flag1为0表等于,为1表大于,为2表小于*/Р int total=0; /*记录符合条件的记录的个数*/Р char temp[10], temp1[10], degree[10], express[10];Р char operator;Р double value;Р enum Education grade1;Р int i=0; /* 读入表达式时用于字符串到数值的转换及控制学历的合法输入*/Р Р Р amount=load("inform.txt");Р Р doР {Р printf("\n\nChoice your item that to search by: \t1).wage \t2).education: [ ]\b\b");