THESE ARE SOME FUMCTIONS RELATRED TO MATHEMATICAL OPERATION IN JAVA
class maths {
public static void main(String[] args) {
System.out.println(Math.max(5,6));
}
}
OUTPUT -
6
class maths {
public static void main(String[] args) {
System.out.println(Math.min(5,6));
}
}
OUTPUT -
5
class maths {
public static void main(String[] args) {
System.out.println(Math.random);
}
}
OUTPUT -
0.49694943512926515