Professional Documents
Culture Documents
Problem Seven
Problem Seven
#include<stdio.h>
float NUM;
void main()
{
printf("ENTER THE NUMBER FOR CALCULATE: ");
scanf("%f", & NUM);
if (NUM>0)
{
printf("POSITIVO");
}
if (NUM<0)
{
printf("NEGATIVO");
}
if (NUM==0)
{
printf("NULO");
}
fflush(stdin);getchar();
}