Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
10(ii)
A_farha
Feb 28th, 2019
81
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C
0.20 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include <stdio.h>
int
main
(
)
{
int
n
,
rev
;
rev
=
0
;
scanf
(
"%d"
,
&
n
)
;
while
(
n
!=
0
)
{
rev
=
rev
*
10
;
rev
=
rev
+
n
%
10
;
n
=
n
/
10
;
}
printf
(
"%d
\n
"
,
rev
)
;
return
0
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Return Of The Jedi 3
12 hours ago | 0.97 KB
Return Of The Jedi 2
12 hours ago | 0.86 KB
Return Of The Jedi 1
12 hours ago | 1.15 KB
Slave Ship 4
12 hours ago | 0.32 KB
Slave Ship 3
12 hours ago | 2.28 KB
Slave Ship 2
12 hours ago | 0.62 KB
Legacy Of The Force Revelations 6
13 hours ago | 0.54 KB
Legacy Of The Force Revelations 5
13 hours ago | 0.38 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!