Advertisement
Md_hosen_zisad

acmevenodd

Aug 8th, 2017
420
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.18 KB | None | 0 0
  1. #include<stdio.h>
  2. //using namespace std;
  3. int main()
  4. {
  5.     int a;
  6.     scanf("%d",&a);
  7.     if(a%2==0)
  8.         printf("even");
  9.     else
  10.         printf("odd");
  11.     return 0;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement