Question: Rewrite Exercise 39.1 to handle large factorial as shown in Figure 39.32. Use the BigInteger class introduced in Section 10.9. Data from Exercise 39.1 Write
Rewrite Exercise 39.1 to handle large factorial as shown in Figure 39.32. Use the BigInteger class introduced in Section 10.9.

Data from Exercise 39.1
Write a JSF page that displays a factorial page as shown in Figure 39.27. Display the table in an h:outputText component. Set its escape property to false to display it as HTML contents.

Daniel Factorials C localhost:8080/chapter39jsfexercise/faces/Exercise39_06.xhtml Display Large Factorials Number Factorial 2432902008176640000 51090942171709440000 1124000727777607680000 25852016738884976640000 620448401733239439360000 15511210043330985984000000 20 21 22 23 24 25 403291461126605635584000000 10888869450418352160768000000 304888344611713860501504000000 8841761993739701954543616000000 265252859812191058636308480000000 26 27 28 29 30 FIGURE 39.32 The JSF page displays factorials for the numbers from 10 to 20 in a table.
Step by Step Solution
3.32 Rating (164 Votes )
There are 3 Steps involved in it
To rewrite Exercise 391 to handle large factorials and display the factorials for the numbers from 1... View full answer
Get step-by-step solutions from verified subject matter experts
