Advertisement
mujahidul_islam

Problem 5

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