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