Computer Applications
Write down the syntax for the following Java Mathematical Library function:
To find the smaller between two numbers p and q
Java Math Lib Methods
67 Likes
Answer
Math.min(p, q)
Answered By
37 Likes
Related Questions
Predict the output of the following:
System.out.println(Math.rint(98.5));Predict the output of the following:
System.out.println(Math.ceil(65.5));Write down the syntax for the following Java Mathematical Library function:
To find the absolute value of a number m
Write down the syntax for the following Java Mathematical Library function:
To find the exponent of a number k