#include <stdio.h>
int main() {
int x;
printf ("enter a value x:",x);
scanf ("%d",&x);
printf ("%d\n",x);
if (x>0)
{
printf ("x is positive number");
}
else if (x<0)
printf ("x is not positive number");
else
printf ("x is neutral ");
return 0;
}
To embed this program on your website, copy the following code and paste it into your website's HTML: