fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5.  
  6. int a;
  7. scanf("%d",&a);
  8. if(a>=0){
  9. printf("プラス\n");
  10. }
  11. else{
  12. printf("マイナス\n");
  13. }
  14. return 0;
  15. }
  16.  
Success #stdin #stdout 0s 4768KB
stdin
42
stdout
プラス