fork download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. int n;
  5. scanf("%d", &n);
  6. if (n > 0) {
  7. printf("positivo");
  8. }
  9. if (n<0){
  10. printf("negativo");
  11. }
  12. return 0;
  13. }
Success #stdin #stdout 0s 5280KB
stdin
5
stdout
positivo