题解 | #取近似值#
取近似值
http://www.nowcoder.com/practice/3ab09737afb645cc82c35d56a5ce802a
import java.util.Scanner;
import java.lang.Math;
public clas***ain{
public static void main(String[] arg){
Scanner input = new Scanner(System.in);
float f = input.nextFloat();
System.out.println(Math.round(f));
}
}