Q
codeup 1066


C code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
| #include <stdio.h>
int main(void) { unsigned int a,b,c; scanf("%d %d %d",&a,&b,&c); if(a%2 == 0) printf("even\n"); else printf("odd\n"); if(b%2 == 0) printf("even\n"); else printf("odd\n"); if(c%2 == 0) printf("even\n"); else printf("odd\n"); return 0; }
|
Author:
Slay
Permalink:
http://sean-baek.github.io/2023/04/28/codeup-1066/
License:
Copyright (c) 2021 CC-BY-NC-4.0 LICENSE
Slogan:
Do you believe in DESTINY?