daily pastebin goal
43%
SHARE
TWEET

Untitled

a guest Mar 19th, 2019 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4.   float valor;
  5.  
  6.   printf("Digite um valor inteiro: \n");
  7.   scanf("%f", &valor);
  8. if (valor > 0) {
  9.   printf("O número é positivo\n");
  10. }
  11. if (valor < 0) {
  12.   printf("O valor é negativo!\n");
  13. }
  14. if (valor == 0) {
  15.   printf("O valor é neutro!\n");
  16. }
  17.   return 0;
  18. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top