fork download
  1. /* Helloプログラム */
  2.  
  3. #include <stdio.h>
  4.  
  5. main()
  6. {
  7. int data = -5;
  8.  
  9. if (data < 0) {
  10. printf("エラー\n");
  11. } else {
  12. printf("正常な値です\n");
  13. }
  14. }
Success #stdin #stdout 0.01s 5324KB
stdin
Standard input is empty
stdout
エラー