This is my code I'm not sure where I've gone wrong or how I do it but I keep getting this message back... Any help would be great.
75. fscanf(fp, "%d", &check);
==> You have not checked the return status of scanf.
90. fscanf(fp, "%f", &hour);
==> You have not checked the return status of scanf.
Code:fscanf(fp, "%d", &check); if (feof(fp)) { fclose(fp); break; } fscanf(fp, "%s", stay); if (feof(fp)) { fclose(fp); break; } fscanf(fp, "%s", taken); if (feof(fp)) { fclose(fp); break; } fscanf(fp, "%f", &hour);