fork download
  1. /* Helloプログラム */
  2.  
  3. #include <stdio.h>
  4.  
  5. main()
  6. {
  7. int test;
  8. test = 80;
  9.  
  10. if(test >= 60){
  11.  
  12. if(test >= 80){
  13. printf("優\n");
  14. }else{
  15.  
  16. if(test < 70){
  17. printf("可\n");
  18.  
  19. }else{
  20.  
  21. printf("良\n");
  22. }
  23. }
  24. }else{
  25. printf("不合格\n");
  26. }
  27. }
Success #stdin #stdout 0s 5328KB
stdin
Standard input is empty
stdout