| Home | JSP | EJB | JDBC | Java Servlets | WAP | Free JSP Hosting | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate 3.0 | XML | ||||
|
||||
|
|
||||
| Tutorial Categories: Ajax
| Articles
| JSP
| Bioinformatics
| Database
| Free
Books |
Hibernate
| J2EE
| J2ME
| Java
| JavaScript
| JDBC
| JMS
| Linux
| MS
Technology |
PHP
| RMI
| Web-Services
| Servlets
| Struts
| UML
|
|
||||||||||||||||||||||||||||||
|
Home | JSP | EJB | JDBC | Java Servlets | WAP | Free JSP Hosting | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs |
||||||||||||||||||||||||||||||
Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.
Copyright © 2007. All rights reserved.
Current Comments
8 comments so far (post your own) View All Comments Latest 10 Comments:so nice program
Posted by Shane on Wednesday, 08.6.08 @ 11:34am | #71278
What if we want to print the number. Like 3!. 3*2*1
Posted by Rizky Ridho on Tuesday, 04.15.08 @ 23:37pm | #56632
i dint the understand the basics at all about the usage of BufferedReader object
Posted by Shanks on Monday, 05.14.07 @ 16:37pm | #15854
Dear sir,
The updated example descreption works for 0 to 170 , above that it shows "infinity". Just add the right code so that it will work for a bigger number.
thanx
Posted by ALOK RANJAN UDGATA on Friday, 03.23.07 @ 12:54pm | #12549
Hi,
Dear learner!
Here is an updated example to solve your problems. First example only evaluates the factorial of numbers between 0 and 13 and another is evaluated the factorial of all numbers that lies in double data type in java.
Factorial Large Number
vinod kumar
Posted by vinod kumar on Monday, 03.5.07 @ 17:50pm | #10738
Factorial 41 is an enormous number. Fact should be defined as "long", not "int" to cope.
Posted by Kim Tran on Friday, 02.2.07 @ 11:06am | #5379
this doesnt work for numbers >= 13!
Posted by poornima d on Friday, 01.19.07 @ 21:16pm | #3850
this example does not works for values of 'a' greater than 41.
Posted by Prashant Tiwari on Friday, 01.5.07 @ 17:57pm | #2715