Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.22 KB | None | 0 0
  1. #include <stdio.h>
  2. int main ()
  3. {
  4.   int a;
  5.   scanf("%d",&a);
  6.   while(a != 0)
  7.   {
  8.     if(a%2==0)
  9.     {
  10.       a=a/10;
  11.     }
  12.     else
  13.     {
  14.       printf("Ne");
  15.       return 0;
  16.     }
  17.   }
  18.   printf("Da");
  19.  
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement