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