fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4.  
  5. int a=50;
  6. if(a%2==1)
  7. printf("a是奇數");
  8. else
  9. printf("a是偶數");
  10.  
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 5420KB
stdin
Standard input is empty
stdout
a是偶數