repo.or.cz
/
tinycc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Turn on a implicit-function-declaration warning by default.
[tinycc.git]
/
tests
/
tests2
/
33_ternary_op.c
blob
8579b5029a1eae8437f539e41462f6abca1c0e29
1
#include <stdio.h>
2
3
int
main
()
4
{
5
int
Count
;
6
7
for
(
Count
=
0
;
Count
<
10
;
Count
++)
8
{
9
printf
(
"%d
\n
"
, (
Count
<
5
) ? (
Count
*
Count
) : (
Count
*
3
));
10
}
11
12
return
0
;
13
}
14
15
/* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/