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