You are on page 1of 1

//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();
}

You might also like