home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Liren Large Software Subsidy 7
/
07.iso
/
c
/
c025
/
1.ddi
/
CEIL.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-08
|
204 b
|
14 lines
main() /* ceil.c -- finds ceiling of a floating double */
{
double x;
int result;
x = 14239.324;
result = ceil(x);
printf("ceil value is %u",result);
/* Correct answer is: 14240 */
}