Java Reference
In-Depth Information
(a)
(b)
F
IGURE
33.29
The program displays addition questions in (a) and answers in (b).
*33.13
(
Day of week
) Write a program that displays the day of the week for a given day,
month, and year, as shown in Figure 33.36. The program lets the user select a
day, month, and year, and click the
Get Day of Week
button to display the day
of week. The Time field displays Future if it is a future day or Past otherwise.
Use the Zeller's congruence to find the day of the week (See Programming
Exercise 3.21).
Search WWH ::
Custom Search