Java Reference
In-Depth Information
state
char
(
2
),
telephone
char
(
10
),
email
varchar
(
40
),
primary key
(id)
);
*33.10
(
Random cards
) Write a JSF that displays four random cards from a deck of 52
cards, as shown in Figure 33.33. When the user clicks the
Refresh
button, four
new random cards are displayed.
***33.11
(
Game: the 24-point card game
) Rewrite Exercise 20.13 using JSF, as shown in
Figure 33.34. Upon clicking the
Refresh
button, the program displays four ran-
dom cards and displays an expression if a 24-point solution exists. Otherwise,
it displays
No solution
.
***33.12
(
Game: the 24-point card game
) Rewrite Exercise 20.17 using JSF, as shown
in Figure 33.35. The program lets the user enter four card values and finds a
solution upon clicking the
Find a Solution
button.
(a)
(b)
F
IGURE
33.28
The JSF page computes the loan payment.
Search WWH ::
Custom Search