program using math.rint( )
Answers
Answered by
30
public class RintExample1
{
public static void main(String[] args)
{
double x = 81.68;
// Input positive value, Output round the x
System.out.println(Math.rint(x));
}
}
Similar questions