Computer Science, asked by divyamathangi, 9 months ago

what is the output of the following code import java.lang.math.*; class main { public static void main ( String args []) { Systerm. Out.Println( math. round(-7.5)); System.Out.Println(math.abs(-7.5)); System.Out.Println( math.ceil(-7.5)); System.Out.Println(math.floor(-7.5)); } }​

Answers

Answered by sambitmandal05
26

-8.0

7.5

-7.0

-8.0

Hope this helps you.

PLEASE MARK MY ANSWER AS BRAINLIEST IF YOU LIKE IT.

Answered by Reevan404
2

Answer:

-8.0

7.5

-7.0

-8.0

Similar questions