Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- void is_positive(int i);
- int main(void)
- {
- is_positive(4);
- }
- void is_positive(int i)
- {
- if(i >= 0)
- {
- printf("Seu numero e positivo!");
- }
- else
- {
- printf("Seu numero e negativo!");
- }
- }
Add Comment
Please, Sign In to add comment