Computer Science, asked by rupanshikatoch46, 5 months ago

program using math.rint( )​

Answers

Answered by Arceuzvx
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