Advertisement
Guest User

Untitled

a guest
Oct 21st, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <conio.h>
  3.  
  4.  
  5. main()
  6. {
  7. int liczba;
  8. printf("podaj liczbe: ");
  9. scanf("%d", &liczba);
  10.  
  11. if(liczba == 0)
  12. printf("\n zerowa");
  13. else if(liczba > 0)
  14. printf("\n dodatnia");
  15. else
  16. printf("\n ujemna");
  17.  
  18.  
  19. return 0;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement