Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Even/ Odd
a guest
Jul 21st, 2019
104
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include<stdio.h>
int
main
(
)
{
int
n
;
printf
(
"Enter the number
\n
"
)
;
scanf
(
"%d/n"
,&
n
)
;
if
(
n
%
2
==
0
)
{
printf
(
"Even number"
)
;
}
else
{
printf
(
"odd number"
)
;
}
return
0
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Ankit Jain
2 hours ago | 1.41 KB
Untitled
C | 20 hours ago | 8.97 KB
Untitled
Python | 1 day ago | 8.34 KB
2026_09_updated_sep__TEMP
1 day ago | 1.50 KB
Asking IM About Client's PR Team
1 day ago | 0.85 KB
Explaining Why We Don't Use Client Email...
1 day ago | 0.62 KB
Untitled
1 day ago | 2.53 KB
[TLF - A KING'S MEMORY]
2 days ago | 1.62 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!