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]
/
ch1
/
exercises
/
ex6.c
blob
2bb4492682a3db455c6d76bb680f3fbc45eebcfb
1
#include<stdio.h>
2
3
int
main
()
4
{
5
int
c
,
d
,
temp
;
6
7
printf
(
"Enter C: "
);
8
scanf
(
"%d"
,&
c
);
9
printf
(
"Enter D: "
);
10
scanf
(
"%d"
,&
d
);
11
12
temp
=
c
;
13
c
=
d
;
14
d
=
temp
;
15
16
printf
(
"Now C:%d D:%d
\n
"
,
c
,
d
);
17
18
return
0
;
19
20
}