Search:

Type: Posts; User: fab04

Search: Search took 0.01 seconds.

  1. Thread: C Array

    by fab04
    Replies
    14
    Views
    13,401

    OK> This is what i have now: /* Student...

    OK>

    This is what i have now:


    /* Student results */

    #include <stdio.h>
    #include <stdlib.h>
    #define STUDENTS 10
  2. Thread: C Array

    by fab04
    Replies
    14
    Views
    13,401

    I have removed the printf statement and changed...

    I have removed the printf statement and changed the j to an i.


    Like Adak mentioned, i need to use a parallel array to declare the names of the students and the subject names.

    This is what i...
  3. Thread: C Array

    by fab04
    Replies
    14
    Views
    13,401

    Thanks for the help. I have sorted both probs...

    Thanks for the help.

    I have sorted both probs out.

    On the 3rd line, studentGrades comes out as [-1] !

    When i mentioned student names, i meant that instead of using student numbers, i would...
  4. Thread: C Array

    by fab04
    Replies
    14
    Views
    13,401

    Now i have sorted the code out. This is what i...

    Now i have sorted the code out.

    This is what i have now:



    /* Student results */

    #include <stdio.h>
    #include <cstdlib>
  5. Thread: C Array

    by fab04
    Replies
    14
    Views
    13,401

    C Array

    Hi,

    I am making a program which will record 10 students results in arrays of 4 subjects and output their percentage grade, average percentage of all subjects for each student, pass and fail rate...
Results 1 to 5 of 5