fork download
  1. /* Helloプログラム */
  2.  
  3. #include <stdio.h>
  4.  
  5. int main()
  6. { int val = 5;
  7.  
  8. if (val == 0){
  9. printf("0です\n");
  10. }else{
  11. if (val > 0){
  12. printf("正の整数\n");
  13. }else{
  14. printf("負の整数\n");
  15. }
  16. }
  17.  
  18. return 0;
  19. }
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
正の整数