#include "stdio.h" int main(void) { int n = 0; printf("please input a number:"); scanf_s("%d", &n); if (0 == n % 2) printf("even\n"); else printf("odd\n"); return 0; }
#include "stdio.h" int main(void) { int n = 0; printf("please input a number:"); scanf_s("%d", &n); if (0 == n % 2) printf("even\n"); else printf("odd\n"); return 0; }