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

Below is my text file and I can figure out column 7 (which is nextmeeting date l

ID: 3614075 • Letter: B

Question

Below is my text file and I can figure out column 7 (which is nextmeeting date like 10 September written as 10/9) what data type orwhat strategy I need to use to store into my structure array

008 120 3 6.0 p F 10/9 S A MAC VB1 15.00

132 43 1 12.0 p M 10/7 P E NH 110 15.00

490 88 3 12.30 p W 10/12 V 4 UC 212A 0.0

130 32 2 11.30 a T 11/2 F G SEC 112C 10.00

Inside the main:

   struct activities group[4];
   int iindex;
   
      while(iindex<count &&fscanf(groupfile,"%d", &(group[iindex].groupnum)) !=EOF)                                //get group number
               {
                       fscanf(groupfile, "%d", &(group[iindex].groupsize));
                       fscanf(groupfile, "%d",&(group[iindex].meetweek));                                                   //get meeting week
                       fscanf(groupfile, "%f",&(group[iindex].meettime));                                                    //get meeting time
                       fgetc(groupfile);
                       group[iindex].mthalfday = fgetc(groupfile);
                       fgetc(groupfile);
                       group[iindex].meetday = fgetc(groupfile);
                      NEXT ONE WILL BE COLUMN 7, THAT IS THE ONLY ONE I NEED HELP ON.THANKS

Explanation / Answer

x.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote