Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main(int argc, char *argv[])
- {
- int numero ;
- printf("Introduce un numero \n");
- scanf("%d",&numero);
- if ( numero == 0 )
- {
- printf("El número es igual a cero \n");
- }
- else if ( numero < 0 )
- {
- printf("El numero es negativo \n");
- }
- else if ( numero > 0)
- {
- printf("El numero es positivo \n");
- }
- system("PAUSE");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment