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("秀\n");
  15. } else {
  16.  
  17. if (test >= 80){
  18. printf("優\n");
  19. } else {
  20.  
  21. if (test >= 70){
  22. printf("良\n");
  23. } else {
  24. printf("可\n");
  25. }
  26. }
  27. }
  28.  
  29. } else {
  30. printf("不合格\n");
  31. }
  32. }
Success #stdin #stdout 0s 5332KB
stdin
Standard input is empty
stdout