Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Determine If a Number is Odd or Even
rafikamal
Jan 3rd, 2013
131
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C
0.15 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include <stdio.h>
int
main
(
)
{
int
x
;
scanf
(
"%d"
,
&
x
)
;
if
(
x
%
2
==
0
)
printf
(
"Even"
)
;
else
printf
(
"Odd"
)
;
return
0
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
systemd-socket-test (AI + Human)
Python | 4 min ago | 9.34 KB
Documents
11 min ago | 0.43 KB
Free Crypto Method
CSS | 19 min ago | 0.72 KB
+12,000$ in 2 days
CSS | 21 min ago | 0.72 KB
Crypto admin access
21 min ago | 0.43 KB
Puts to sleep and forget
7 hours ago | 0.85 KB
Silk
20 hours ago | 3.74 KB
fleet_agent
1 day ago | 5.04 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!