Advertisement
Guest User

Untitled

a guest
May 22nd, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.29 KB | None | 0 0
  1. #include <stdio.h>
  2. #define MAKRO(x) printf("MAKRO1 %d\n", x);
  3. #define NIEPARZYSTA(x) ((x)%2==1)
  4.  
  5. int main()
  6. {
  7.         int x;
  8.         MAKRO(5);
  9.         scanf("%d", &x);
  10.         if(NIEPARZYSTA(x)) printf("liczba nieparzysta\n");
  11.         else printf("liczba parzysta\n");
  12.         return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement