Computer Science, asked by abhisheksingh007226, 5 months ago

What is the output of the following code?
import java.lang. Math.*;
class Main
{
public static void main(String args[])
{
System.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));
}
}
a. -7 7.5 -7.0 -8.0
b. -8 7.5 -7.0 -8.0
c. -8 -7 -8.0 -7.0
d. -7 7-7.0 -8.0​

Answers

Answered by garipallyrajini
1

Answer:

a -7 7.5jdjbfhgfuthjt by jfjfjriro

Similar questions