1. Using Zeller’s congruence, determine the day of the week for March 17, 2020.
2. For each of the following mathematical expressions, write a Java expression to represent it.
a. 64
b. |–17|
c. e
d. 2³
e. 6²
3. Write a program that displays the following table. Use the method Math.min to compute the smaller of x and y in each case.
X y Min(x, y)
---------------------------------
10 5 5
13 23 13
100 100 100
-1 -5 -5
0 -8 -8
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here