Read signatures, choose the right tool, store returned values, and generate random integers.
Read the signatures, then test the matching calls
Write one line for each goal using the correct Math method
Print its absolute value with one correct Math call.
Print the larger value from this pair.
Print the smaller value from the same pair.
Print the square of this number using Math.
Store each returned value in a variable with the correct type
Turn Math.random() into random integers in the range you want
Create one variable that lands in this range.
Create another variable that lands in this range.
Print both variables with System.out.println.
Generate two random integers, compare them, and use them to build one power expression.
2 to 8.1 to 4.Math.max and Math.min to find the larger and smaller values.Math.pow.