
Java Programming #4 Basics: Math Class
This is the fourth video on java programming–Math Class, a little more advanced, below is a little practice/challenge.
code:
Math.max(x,y);
Math.min(x,y);
Math.abs(x);
Math.random();
Math.pow(x,y);
Math.sqrt(x);
CHALLENGE/PRACTICE:
Assign two variables and print the max, min, power, absolute value, and the square root of both.
