Guest User

Untitled

a guest
Jan 20th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. void is_positive(int i);
  4.  
  5. int main(void)
  6. {
  7. is_positive(4);
  8. }
  9.  
  10. void is_positive(int i)
  11. {
  12. if(i >= 0)
  13. {
  14. printf("Seu numero e positivo!");
  15. }
  16. else
  17. {
  18. printf("Seu numero e negativo!");
  19. }
  20. }
Add Comment
Please, Sign In to add comment