#include<stdio.h>
#include<ctype.h>
int main()
{
/*int a,b;
scanf("%d%d",&a,&b);
printf("%d",a+b);*/
/* int i,j,n;
scanf("%d,%d",&i,&j);
if(i<=3)
{printf("%d",13+j);
}
else {
if(i<=15)
{n=13+2.3*(i-3)+j;
printf("%d",n);
}
else
{n=13+2.3*12+3.45*(i-15)+j;
printf("%d",n);
}
}*/
/*int a;
scanf("%d",&a);
printf("%d",(a/100+6)%10+(a%100/10+6)%10*10+(a%10+6)%10*100);*/
/*int a;
scanf("%d",&a);
if(a<=3)
{printf("%.1f",8.0);
}
else
{printf("%.1f",8.0+(a-3)*1.5);
}*/
/*int a;
scanf("%c",&a);
if(a>='A'&&a<='Z')
printf("%c",tolower(a));
else
printf("%c",toupper(a));*/
double x;
scanf("%lf",&x);
if(x>0)
printf("1");
else
if(x==0)
printf("0");
else
printf("-1");
return 0;
}
标签:10,int,scanf,else,printf,10.13,100 From: https://blog.51cto.com/u_15758636/5759224