Thread: Student Grade Database with C

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

    Smile Student Grade Database with C

    Can anyone help me to write the 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
    Join Date
    Jun 2011
    Posts
    4,513
    If your program needs to be in C, you should post to the C forum - not the C++ forum. which is it?

    Assuming you've read the homework policy, post the progress you've made (be sure to use code tags) and explain exactly what you're stuck on.

  3. #3
    Registered User
    Join Date
    Dec 2016
    Posts
    5
    okay thanks

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. regex student grade parser
    By surefire in forum C Programming
    Replies: 0
    Last Post: 11-17-2009, 08:21 PM
  2. Student Roster & Grade Average
    By Surge in forum C Programming
    Replies: 10
    Last Post: 12-12-2006, 07:32 AM
  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