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
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
2
Answer:
-8.0
7.5
-7.0
-8.0
Similar questions
Computer Science,
5 months ago
Political Science,
5 months ago
Science,
9 months ago
Math,
9 months ago
Art,
1 year ago
Math,
1 year ago
Science,
1 year ago