repo.or.cz
/
C-Programming-Examples.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Added stack address randomization example.
[C-Programming-Examples.git]
/
ex_1-5.c
blob
56e1a7cf7251795d4028a7f4e683eb63c07ae11a
1
#include <stdio.h>
2
3
#define LOWER 0
4
#define UPPER 300
5
#define STEP 20
6
7
main
()
8
{
9
int
fahr
;
10
11
for
(
fahr
=
UPPER
;
fahr
>
LOWER
;
fahr
=
fahr
-
STEP
)
12
printf
(
"%3d %61f
\n
"
,
fahr
, (
5.0
/
9.0
)*(
fahr
-
32
));
13
}