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