fork download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. int eded;
  5.  
  6. printf("Ededi daxil edin: ");
  7. scanf("%d", &eded);
  8.  
  9. if (eded > 0) {
  10. printf("Eded pozitivdir.\n");
  11. }
  12. else if (eded < 0) {
  13. printf("Eded neqativdir.\n");
  14. }
  15. else {
  16. printf("Eded sifirdir.\n");
  17. }
  18.  
  19. return 0;
  20. }
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
Ededi daxil edin: Eded pozitivdir.