repo.or.cz
/
letusc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
move to repo.or.cz
[letusc.git]
/
ch3
/
examples
/
exa12.c
blob
66e1530e1d81091ea0ad840eaf00777ce89b6a63
1
#include<stdio.h>
2
3
int
main
()
4
{
5
int
r
,
c
,
sum
;
6
7
for
(
r
=
1
;
r
<=
3
;
r
++)
8
{
9
for
(
c
=
1
;
c
<=
2
;
c
++)
10
{
11
sum
=
r
+
c
;
12
printf
(
"r=%d c=%d sum=%d
\n
"
,
r
,
c
,
sum
);
13
}
14
}
15
16
17
return
0
;
18
}