fork download
  1. /* Helloプログラム */
  2.  
  3. #include <stdio.h>
  4. #include <stdbool.h>
  5.  
  6. main()
  7. {
  8. int absent, test, flag;
  9.  
  10. absent = 2;
  11. test = 70;
  12.  
  13. flag = ((absent <=3)&&(test>=60));
  14.  
  15.  
  16. printf("結果%d", flag); //結果表示1:合格, 0:不合格
  17.  
  18. }
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
結果1