Propane Posted October 6, 2003 Posted October 6, 2003 Well here is my newest program (and its results). If you want to use it it is under the GPL so go ahead and disect it or w/e you want to do but please keep my name on it! Thanks! Share this post Link to post Share on other sites More sharing options...
Propane Posted October 6, 2003 Posted October 6, 2003 the results - 100,000 factorial **factorial is where you go x*(x-1)*(x-2) untill the sum equlas 1 Share this post Link to post Share on other sites More sharing options...
slugbug3311 Posted October 8, 2003 Posted October 8, 2003 Im taking java in school this year and that dosent look to complicated what is the real purpose of it? Share this post Link to post Share on other sites More sharing options...
Propane Posted October 16, 2003 Posted October 16, 2003 JAVA or my program Share this post Link to post Share on other sites More sharing options...
Ghost2520 Posted October 26, 2003 Posted October 26, 2003 Hes talking about your program. Share this post Link to post Share on other sites More sharing options...
Propane Posted October 26, 2003 Posted October 26, 2003 It does (for 5 factorial) 5*4*3*2 and returns the answer this can get big quickly as you keep multipling and mutlipliying over and over and it just gets big. So it makes it possible to store a number up to the amount or ram you have - free ram. It was tough because I had to do a lot of research on the 'BigInterger' Class. BigInteger dosent take normal opperators (+ - * / % ++ -- += -= *= /= %= == !=) Share this post Link to post Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now