Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  32
Language: C/C++
Code:
      #include<stdio.h>

void main() 

 {    

int x,y;    

scanf(ā€%dā€,&x);    

y=0;    

if(x>=0)    

   {if(x>0)y=1;}    

else 

   y=-1;   

 prinff(ā€%dā€,y);}
Comments: