C
取近似值
http://www.nowcoder.com/questionTerminal/3ab09737afb645cc82c35d56a5ce802a
include<stdio.h>
int main(){
float n;
int m;
scanf("%f",&n);
m=n/1;
if(n-m>=0.5){
printf("%d",m+1);
}else{
printf("%d",m);
}
return 0;
}