Thread: Student Grade Database with C

  1. #1
    Registered User
    Join Date
    Dec 2016
    Posts
    5

    Student Grade Database with C

    Can anyone help me to the write program below:

    A sequential access file “TEST.txt” has some student records, each of which contains ID NUMBER, NAME, EXAM1, EXAM2 and EXAM3. EXAM1, EXAM2 and EXAM3 are integer grades of MATH exams.

    Write a MAIN function to read file “TEST.txt” and compute and write the MEAN (mathematical average) of the grades of MATH exams greater than 45.50 into a sequential access file “RESULT.txt”.
    Records written into “RESULT.txt” file will contain ID NUMBER, NAME and MEAN for each student. FILE record will be declared and defined as a C STRUCTURE (i.e., a STRUCTURE variable will be used when reading and writing file records).


    You should create your own input file "TEST.txt" with at
    least ten records to test the program. You can use any text editor when creating input file "TEST.txt".

  2. #2
    Registered User rstanley's Avatar
    Join Date
    Jun 2014
    Location
    New York, NY
    Posts
    1,111
    We cannot and will not do your programming or you. YOU need to make an attempt at coding the program first, then you can post it here with questions, an proper indentation. Your instructor should have provided you with all the information you need to write the program.

    Please read the Forum Rules before you do post the code.

    When you do compile your code, please make sure you turn on, and turn up the warnings to the highest settings.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Student Grade Database with C
    By manOtto in forum C++ Programming
    Replies: 2
    Last Post: 12-25-2016, 09:01 AM
  2. regex student grade parser
    By surefire in forum C Programming
    Replies: 0
    Last Post: 11-17-2009, 08:21 PM
  3. Student Grade Program
    By Vinod Menon in forum C Programming
    Replies: 1
    Last Post: 05-31-2004, 12:32 AM
  4. Student Grade Program
    By Vinod Menon in forum C Programming
    Replies: 5
    Last Post: 05-28-2004, 02:49 PM
  5. Creating a student grade book-how?
    By Hopelessly confused in forum C Programming
    Replies: 5
    Last Post: 10-03-2002, 08:43 PM

Tags for this Thread