home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
c_news
/
18
/
beginner
/
compute.c
< prev
next >
Wrap
Text File
|
1989-11-14
|
155b
|
8 lines
/* This is the function that determines the average of a bunch
of numbers */
float compute (int n, float xsum)
{
return (xsum/(float)n);
}