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
Social Sciences,
4 months ago
English,
4 months ago
Physics,
4 months ago
Social Sciences,
8 months ago
Math,
8 months ago