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

Please I need help of modifying this code to work on gcc compiler.My compiler do

ID: 3613419 • Letter: P

Question

Please I need help of modifying this code to work on gcc compiler.My compiler do not recognize <conio.h> and getch() function.Thanks

#include<stdio.h>
#include <conio.h>
int main(void)
{
           char meetday[3],ch;
            int count = 3;
             intindex;
    
        printf(" Below are thea.m or p.m info for the meeting time of the associated group oractivity ");
               printf("----------------------------------------------------------------------------- ");
               printf(" Enter 'p' for first group meeting time p.m ");
               printf(" Enter 'p' for second group meeting time p.m ");
               printf(" Enter 'p' for third group meeting time p.m ");
               for(index=0;index<count;index++)
               {
                       scanf("%c", &meetday[index]);
                       
                    while ((ch = getchar()) != ' ' );

                 
               }

getch();

return 0;
}

Explanation / Answer

please rate - thanks try this #include int main(void) {            char meetday[3],enter;             int count = 3;             int index;              printf(" Below are thea.m or p.m info for the meeting time of the associated group oractivity ");                printf("----------------------------------------------------------------------------- ");                printf(" Enter 'p' for first group meeting time p.m ");                printf(" Enter 'p' for second group meeting time p.m ");                printf(" Enter 'p' for third group meeting time p.m ");                for(index=0;index