home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Liren Large Software Subsidy 7
/
07.iso
/
c
/
c025
/
1.ddi
/
FABS.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Text File
|
1985-02-02
|
207 b
|
14 lines
main() /* fabs.c -- illustrates use of fabs() */
{
double number;
double result;
number = -3122.3242;
result = fabs(number);
printf("%f", result);
/* Correct answer is: 3122.324200 */
}