Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

x. Solution x.0mlor=\"red\">please rate - thanks commented out an area of your c

ID: 3614289 • Letter: X

Question

x.

Explanation / Answer

x.0mlor="red">please rate - thanks commented out an area of your code #include #include #include #define MAXGROUP 20 #define MINCOUNT 12 #define MAXCOUNT 20 #define ZERO 0 struct activities {         int groupnum;         char *groupname;         float meettime;         char mthalfday;         char meetday;         int meetweek;         char nextdate[6];         char buildingloc[4];         char meetroom[5];         char purpose;         char memtype;         int groupsize;         float groupcost; }; void printallinput(struct activities fungroup[MAXGROUP], int xindex); void rec_mergesort(struct activities recgroup[],struct activities temp[], int index, int xxindex); void merge(struct activities recgroup[],struct activities temp[],int low,int mid,int high); int main(void) {         FILE *groupfile;         struct activities group[MAXGROUP];         struct activities temp[MAXGROUP];         int iindex, jindex, kindex, count;         int intro, index, len;         int choose, xindex, xcount;         char chflush;         char temparr[100];                 printf(" Activities which you are interested in must be between 12 and 20. ");                 printf("Please enter your choice:>>> ");                 scanf("%d", &count);                 while((count MAXGROUP))                 {                         printf(" Wrong input: Please reenter the number of activities you interested in ");                         printf(" Must be between %d and %d ", MINCOUNT, MAXCOUNT);                         scanf("%d", &count);                 }                 groupfile = fopen("file.dat", "r");                 if(groupfile == NULL)                 {                         printf(" Error opening File! ");                         return 0;                 }                 iindex = 0;                 while(iindex