home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
f
/
fracxtr4.zip
/
TEMP.C
< prev
next >
Wrap
C/C++ Source or Header
|
1992-06-19
|
168b
|
10 lines
#include <stdio.h>
void main()
{
int n;
float a=-2.19, b=0.95;
printf("\n\n");
for (n=0; n<=5; ++n) printf("%G\n", ((5-n)/5.0)*a + (n/5.0)*b);
}