I'm brand new to C programming, (just started the class this semester) and i dont want anyone to do my homework for me, but the T.A. gave a very poor definition of function writing, and calling. (He is from China and has limited English).
Anyway, what i really need is a broad definition of writing C programs to include functions. If i understand correctly i need to write two different functions series_resis and parallel_resis to determine three resistors equivalent resistance in both parallel and series.
i just need to know how to "Write a C program using functions." i can do the math parts of it, i'm just not quite sure what all the syntax means (i.e. float func(float,float,float)) and then its called something else with different values later.
And for each individual function i am to "Use the calling function in the main () function to call the values and print them"
i'm kind of confused, and after typing this out, i think i might be even more confused. Any ideas?
thanks,
brandon, wichita



LinkBack URL
About LinkBacks



