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