Computer Science Canada Function Calls |
Author: | Aenoc [ Wed Oct 29, 2008 5:21 pm ] |
Post subject: | Function Calls |
ive just started programming in C at school and have missed a few classes. i have an assignment due tomorrow that must include function call(s) to Given a student's first name only, his six assignment marks, 2 quiz marks, lab exercise mark, lab examination mark, class participation mark, midterm test and final examination marks, the program will compute and output the final course mark of the student. now i can accomplish this just by adding the mathematical equations into the main program but how do i create a function to which i can call upon to do it? |
Author: | Vertico [ Wed Oct 29, 2008 5:29 pm ] | ||
Post subject: | Re: Function Calls | ||
If your learning C in class, I will assume you have some programming knowledge (?)
This is a simple description of what you want. Send in the value, modify it, then return the value. |