home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Resource for Source: C/C++
/
Resource for Source - C-C++.iso
/
codelib6
/
v_08_08
/
8n08122b
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1995-11-01
|
357 b
|
23 lines
#include <stdio.h>
#include <ctype.h>
#include <math.h>
void main()
{
double f;
int index, n = 75;
f = 1.0 / 10000.0 ;
f = f / 3.0;
for(index = 1; index < n; index++)
{
f = f / 10.0;
printf(" %-2d %e\n", index, f);
}
}
LISTING 2