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