是个数学题啊
#include <stdio.h> #include <math.h> int main() { int a; scanf("%d",&a); if(a%2==0&&a!=2) printf("YES, you can divide the watermelon into two even parts."); else printf("NO, you can't divide the watermelon into two even parts."); return 0; }
是个数学题啊
#include <stdio.h> #include <math.h> int main() { int a; scanf("%d",&a); if(a%2==0&&a!=2) printf("YES, you can divide the watermelon into two even parts."); else printf("NO, you can't divide the watermelon into two even parts."); return 0; }